├── .gitattributes ├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── config.yml │ └── feature_report.md ├── pull_request_template.md └── workflows │ ├── secrets_scanner.yaml │ └── tests.yml ├── .gitignore ├── .gitmodules ├── LICENSE ├── README.md └── templates ├── 101 ├── eravm │ ├── .env.example │ ├── .gitignore │ ├── .npmrc │ ├── .vscode │ │ ├── extensions.json │ │ └── settings.json │ ├── LICENSE │ ├── README.md │ ├── contracts │ │ ├── 1-hello-zksync │ │ │ └── CrowdfundingCampaign.sol │ │ ├── 2-contract-factory │ │ │ └── CrowdfundingFactory.sol │ │ ├── 3-proxy-contracts │ │ │ ├── beacon │ │ │ │ ├── BeaconCrowdfundingCampaign.sol │ │ │ │ └── V2_BeaconCrowdfundingCampaign.sol │ │ │ ├── transparent │ │ │ │ ├── ProxyableCrowdfundingCampaign.sol │ │ │ │ └── V2_ProxyableCrowdfundingCampaign.sol │ │ │ └── uups │ │ │ │ ├── UUPSCrowdfundingCampaign.sol │ │ │ │ └── V2_UUPSCrowdfundingCampaign.sol │ │ └── 4-paymaster │ │ │ ├── approval │ │ │ ├── ApprovalFlowPaymaster.sol │ │ │ └── CrownToken.sol │ │ │ └── gasless │ │ │ └── GaslessPaymaster.sol │ ├── deploy │ │ ├── 1-hello-zksync │ │ │ └── deploy.ts │ │ ├── 2-contract-factory │ │ │ └── deploy.ts │ │ ├── 3-proxy-contracts │ │ │ ├── beacon │ │ │ │ ├── deploy.ts │ │ │ │ └── upgrade.ts │ │ │ ├── transparent │ │ │ │ ├── deploy.ts │ │ │ │ └── upgrade.ts │ │ │ └── uups │ │ │ │ ├── deploy.ts │ │ │ │ └── upgrade.ts │ │ └── 4-paymaster │ │ │ ├── approval │ │ │ ├── deploy.ts │ │ │ └── interact.ts │ │ │ └── gasless │ │ │ ├── deploy.ts │ │ │ └── interact.ts │ ├── hardhat.config.ts │ ├── package.json │ ├── test │ │ ├── 1-hello-zksync │ │ │ └── CrowdfundingCampaign.test.ts │ │ ├── 2-deploy-crowdfunding │ │ │ └── CrowdfundingFactory.test.ts │ │ ├── 3-proxy-contracts │ │ │ ├── BeaconProxy.test.ts │ │ │ ├── TransparentProxy.test.ts │ │ │ └── UupsProxy.test.ts │ │ └── 4-paymaster │ │ │ ├── ApprovalPaymaster.test.ts │ │ │ └── GaslessPaymaster.test.ts │ ├── tsconfig.json │ └── utils │ │ └── index.ts └── evm │ ├── .env.example │ ├── .gitignore │ ├── README.md │ ├── contracts │ ├── 1-hello-zksync │ │ └── CrowdfundingCampaign.sol │ ├── 2-contract-factory │ │ └── CrowdfundingFactory.sol │ └── 3-proxy-contracts │ │ ├── beacon │ │ ├── BeaconCrowdfundingCampaign.sol │ │ └── V2_BeaconCrowdfundingCampaign.sol │ │ ├── transparent │ │ ├── ProxyableCrowdfundingCampaign.sol │ │ └── V2_ProxyableCrowdfundingCampaign.sol │ │ └── uups │ │ ├── UUPSCrowdfundingCampaign.sol │ │ └── V2_UUPSCrowdfundingCampaign.sol │ ├── deploy │ ├── 1-hello-zksync │ │ ├── deploy.ts │ │ └── interact.ts │ ├── 2-contract-factory │ │ └── deploy.ts │ └── 3-proxy-contracts │ │ ├── beacon │ │ ├── deploy.ts │ │ └── upgrade.ts │ │ ├── transparent │ │ ├── deploy.ts │ │ └── upgrade.ts │ │ └── uups │ │ ├── deploy.ts │ │ └── upgrade.ts │ ├── hardhat.config.ts │ ├── package.json │ ├── test │ ├── 1-hello-zksync │ │ └── CrowdfundingCampaign.test.ts │ ├── 2-deploy-crowdfunding │ │ └── CrowdfundingFactory.test.ts │ └── 3-proxy-contracts │ │ ├── BeaconProxy.test.ts │ │ ├── TransparentProxy.test.ts │ │ └── UupsProxy.test.ts │ └── tsconfig.json ├── hardhat ├── solidity │ ├── .env.example │ ├── .gitignore │ ├── .npmrc │ ├── LICENSE │ ├── README.md │ ├── contracts │ │ ├── Greeter.sol │ │ ├── erc20 │ │ │ └── MyERC20Token.sol │ │ ├── nft │ │ │ └── MyNFT.sol │ │ └── paymasters │ │ │ ├── ApprovalPaymaster.sol │ │ │ └── GeneralPaymaster.sol │ ├── hardhat.config.ts │ ├── package-lock.json │ ├── package.json │ ├── scripts │ │ ├── deploy-erc20.ts │ │ ├── deploy-nft.ts │ │ ├── deploy.ts │ │ └── interact.ts │ ├── test │ │ ├── erc20 │ │ │ └── myerc20token.test.ts │ │ ├── greeter.test.ts │ │ └── nft │ │ │ └── mynft.test.ts │ └── tsconfig.json └── vyper │ ├── .env.example │ ├── .gitignore │ ├── LICENSE │ ├── README.md │ ├── contracts │ └── Greeter.vy │ ├── hardhat.config.ts │ ├── package-lock.json │ ├── package.json │ ├── scripts │ ├── deploy.ts │ └── interact.ts │ ├── test │ └── greeter.test.ts │ └── tsconfig.json └── quickstart ├── foundry ├── factory │ ├── .gitignore │ ├── README.md │ ├── foundry.toml │ ├── script │ │ └── DeployFactory.s.sol │ └── src │ │ ├── CrowdfundFactory.sol │ │ └── CrowdfundingCampaign.sol ├── hello-zksync │ ├── .gitignore │ ├── README.md │ ├── foundry.toml │ ├── script │ │ └── Deploy.s.sol │ └── src │ │ └── Crowdfund.sol └── testing │ ├── .gitignore │ ├── README.md │ ├── foundry.toml │ ├── script │ └── DeployFactory.s.sol │ ├── src │ ├── CrowdfundFactory.sol │ └── CrowdfundingCampaign.sol │ └── test │ └── CrowdfundingCampaign.t.sol └── hardhat ├── factory ├── .env.example ├── .gitignore ├── contracts │ ├── CrowdfundFactory.sol │ └── CrowdfundingCampaign.sol ├── deploy │ └── deployUsingFactory.ts ├── hardhat.config.ts ├── package.json └── tsconfig.json ├── hello-zksync ├── .env.example ├── .gitignore ├── contracts │ └── Crowdfund.sol ├── deploy │ └── deploy.ts ├── hardhat.config.ts ├── package.json └── tsconfig.json ├── paymaster ├── .env.example ├── .gitignore ├── contracts │ ├── ApprovalFlowPaymaster.sol │ ├── CrowdfundingCampaign.sol │ ├── CrowdfundingCampaignV2.sol │ ├── CrowdfundingCampaignV2_UUPS.sol │ ├── CrowdfundingCampaign_UUPS.sol │ ├── GaslessPaymaster.sol │ └── erc20 │ │ └── MyERC20Token.sol ├── deploy │ ├── deployApprovalFlowPaymaster.ts │ ├── deployBeaconProxy.ts │ ├── deployGaslessPaymaster.ts │ ├── deployTransparentProxy.ts │ ├── deployUUPS.ts │ ├── interact │ │ ├── interactWithApprovalFlowPaymaster.ts │ │ └── interactWithGaslessPaymaster.ts │ └── upgrade-scripts │ │ ├── upgradeBeaconCrowdfundingCampaign.ts │ │ ├── upgradeCrowdfundingCampaign.ts │ │ └── upgradeUUPSCrowdfundingCampaign.ts ├── hardhat.config.ts ├── package.json └── tsconfig.json ├── testing ├── .env.example ├── .gitignore ├── contracts │ ├── CrowdfundFactory.sol │ └── CrowdfundingCampaign.sol ├── deploy │ └── deployUsingFactory.ts ├── hardhat.config.ts ├── package.json ├── test │ └── crowdFunding.test.ts ├── tsconfig.json └── utils │ └── index.ts └── upgradability ├── .env.example ├── .gitignore ├── contracts ├── CrowdfundingCampaign.sol ├── CrowdfundingCampaignV2.sol ├── CrowdfundingCampaignV2_UUPS.sol └── CrowdfundingCampaign_UUPS.sol ├── deploy ├── deployBeaconProxy.ts ├── deployTransparentProxy.ts ├── deployUUPS.ts └── upgrade-scripts │ ├── upgradeBeaconCrowdfundingCampaign.ts │ ├── upgradeCrowdfundingCampaign.ts │ └── upgradeUUPSCrowdfundingCampaign.ts ├── hardhat.config.ts ├── package.json └── tsconfig.json /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/.github/ISSUE_TEMPLATE/feature_report.md -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/secrets_scanner.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/.github/workflows/secrets_scanner.yaml -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/.gitmodules -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/README.md -------------------------------------------------------------------------------- /templates/101/eravm/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/.env.example -------------------------------------------------------------------------------- /templates/101/eravm/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/.gitignore -------------------------------------------------------------------------------- /templates/101/eravm/.npmrc: -------------------------------------------------------------------------------- 1 | legacy-peer-deps=true -------------------------------------------------------------------------------- /templates/101/eravm/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/.vscode/extensions.json -------------------------------------------------------------------------------- /templates/101/eravm/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/.vscode/settings.json -------------------------------------------------------------------------------- /templates/101/eravm/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/LICENSE -------------------------------------------------------------------------------- /templates/101/eravm/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/README.md -------------------------------------------------------------------------------- /templates/101/eravm/contracts/1-hello-zksync/CrowdfundingCampaign.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/contracts/1-hello-zksync/CrowdfundingCampaign.sol -------------------------------------------------------------------------------- /templates/101/eravm/contracts/2-contract-factory/CrowdfundingFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/contracts/2-contract-factory/CrowdfundingFactory.sol -------------------------------------------------------------------------------- /templates/101/eravm/contracts/3-proxy-contracts/beacon/BeaconCrowdfundingCampaign.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/contracts/3-proxy-contracts/beacon/BeaconCrowdfundingCampaign.sol -------------------------------------------------------------------------------- /templates/101/eravm/contracts/3-proxy-contracts/beacon/V2_BeaconCrowdfundingCampaign.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/contracts/3-proxy-contracts/beacon/V2_BeaconCrowdfundingCampaign.sol -------------------------------------------------------------------------------- /templates/101/eravm/contracts/3-proxy-contracts/transparent/ProxyableCrowdfundingCampaign.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/contracts/3-proxy-contracts/transparent/ProxyableCrowdfundingCampaign.sol -------------------------------------------------------------------------------- /templates/101/eravm/contracts/3-proxy-contracts/transparent/V2_ProxyableCrowdfundingCampaign.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/contracts/3-proxy-contracts/transparent/V2_ProxyableCrowdfundingCampaign.sol -------------------------------------------------------------------------------- /templates/101/eravm/contracts/3-proxy-contracts/uups/UUPSCrowdfundingCampaign.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/contracts/3-proxy-contracts/uups/UUPSCrowdfundingCampaign.sol -------------------------------------------------------------------------------- /templates/101/eravm/contracts/3-proxy-contracts/uups/V2_UUPSCrowdfundingCampaign.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/contracts/3-proxy-contracts/uups/V2_UUPSCrowdfundingCampaign.sol -------------------------------------------------------------------------------- /templates/101/eravm/contracts/4-paymaster/approval/ApprovalFlowPaymaster.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/contracts/4-paymaster/approval/ApprovalFlowPaymaster.sol -------------------------------------------------------------------------------- /templates/101/eravm/contracts/4-paymaster/approval/CrownToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/contracts/4-paymaster/approval/CrownToken.sol -------------------------------------------------------------------------------- /templates/101/eravm/contracts/4-paymaster/gasless/GaslessPaymaster.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/contracts/4-paymaster/gasless/GaslessPaymaster.sol -------------------------------------------------------------------------------- /templates/101/eravm/deploy/1-hello-zksync/deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/deploy/1-hello-zksync/deploy.ts -------------------------------------------------------------------------------- /templates/101/eravm/deploy/2-contract-factory/deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/deploy/2-contract-factory/deploy.ts -------------------------------------------------------------------------------- /templates/101/eravm/deploy/3-proxy-contracts/beacon/deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/deploy/3-proxy-contracts/beacon/deploy.ts -------------------------------------------------------------------------------- /templates/101/eravm/deploy/3-proxy-contracts/beacon/upgrade.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/deploy/3-proxy-contracts/beacon/upgrade.ts -------------------------------------------------------------------------------- /templates/101/eravm/deploy/3-proxy-contracts/transparent/deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/deploy/3-proxy-contracts/transparent/deploy.ts -------------------------------------------------------------------------------- /templates/101/eravm/deploy/3-proxy-contracts/transparent/upgrade.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/deploy/3-proxy-contracts/transparent/upgrade.ts -------------------------------------------------------------------------------- /templates/101/eravm/deploy/3-proxy-contracts/uups/deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/deploy/3-proxy-contracts/uups/deploy.ts -------------------------------------------------------------------------------- /templates/101/eravm/deploy/3-proxy-contracts/uups/upgrade.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/deploy/3-proxy-contracts/uups/upgrade.ts -------------------------------------------------------------------------------- /templates/101/eravm/deploy/4-paymaster/approval/deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/deploy/4-paymaster/approval/deploy.ts -------------------------------------------------------------------------------- /templates/101/eravm/deploy/4-paymaster/approval/interact.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/deploy/4-paymaster/approval/interact.ts -------------------------------------------------------------------------------- /templates/101/eravm/deploy/4-paymaster/gasless/deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/deploy/4-paymaster/gasless/deploy.ts -------------------------------------------------------------------------------- /templates/101/eravm/deploy/4-paymaster/gasless/interact.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/deploy/4-paymaster/gasless/interact.ts -------------------------------------------------------------------------------- /templates/101/eravm/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/hardhat.config.ts -------------------------------------------------------------------------------- /templates/101/eravm/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/package.json -------------------------------------------------------------------------------- /templates/101/eravm/test/1-hello-zksync/CrowdfundingCampaign.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/test/1-hello-zksync/CrowdfundingCampaign.test.ts -------------------------------------------------------------------------------- /templates/101/eravm/test/2-deploy-crowdfunding/CrowdfundingFactory.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/test/2-deploy-crowdfunding/CrowdfundingFactory.test.ts -------------------------------------------------------------------------------- /templates/101/eravm/test/3-proxy-contracts/BeaconProxy.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/test/3-proxy-contracts/BeaconProxy.test.ts -------------------------------------------------------------------------------- /templates/101/eravm/test/3-proxy-contracts/TransparentProxy.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/test/3-proxy-contracts/TransparentProxy.test.ts -------------------------------------------------------------------------------- /templates/101/eravm/test/3-proxy-contracts/UupsProxy.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/test/3-proxy-contracts/UupsProxy.test.ts -------------------------------------------------------------------------------- /templates/101/eravm/test/4-paymaster/ApprovalPaymaster.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/test/4-paymaster/ApprovalPaymaster.test.ts -------------------------------------------------------------------------------- /templates/101/eravm/test/4-paymaster/GaslessPaymaster.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/test/4-paymaster/GaslessPaymaster.test.ts -------------------------------------------------------------------------------- /templates/101/eravm/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/tsconfig.json -------------------------------------------------------------------------------- /templates/101/eravm/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/eravm/utils/index.ts -------------------------------------------------------------------------------- /templates/101/evm/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/.env.example -------------------------------------------------------------------------------- /templates/101/evm/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/.gitignore -------------------------------------------------------------------------------- /templates/101/evm/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/README.md -------------------------------------------------------------------------------- /templates/101/evm/contracts/1-hello-zksync/CrowdfundingCampaign.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/contracts/1-hello-zksync/CrowdfundingCampaign.sol -------------------------------------------------------------------------------- /templates/101/evm/contracts/2-contract-factory/CrowdfundingFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/contracts/2-contract-factory/CrowdfundingFactory.sol -------------------------------------------------------------------------------- /templates/101/evm/contracts/3-proxy-contracts/beacon/BeaconCrowdfundingCampaign.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/contracts/3-proxy-contracts/beacon/BeaconCrowdfundingCampaign.sol -------------------------------------------------------------------------------- /templates/101/evm/contracts/3-proxy-contracts/beacon/V2_BeaconCrowdfundingCampaign.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/contracts/3-proxy-contracts/beacon/V2_BeaconCrowdfundingCampaign.sol -------------------------------------------------------------------------------- /templates/101/evm/contracts/3-proxy-contracts/transparent/ProxyableCrowdfundingCampaign.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/contracts/3-proxy-contracts/transparent/ProxyableCrowdfundingCampaign.sol -------------------------------------------------------------------------------- /templates/101/evm/contracts/3-proxy-contracts/transparent/V2_ProxyableCrowdfundingCampaign.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/contracts/3-proxy-contracts/transparent/V2_ProxyableCrowdfundingCampaign.sol -------------------------------------------------------------------------------- /templates/101/evm/contracts/3-proxy-contracts/uups/UUPSCrowdfundingCampaign.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/contracts/3-proxy-contracts/uups/UUPSCrowdfundingCampaign.sol -------------------------------------------------------------------------------- /templates/101/evm/contracts/3-proxy-contracts/uups/V2_UUPSCrowdfundingCampaign.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/contracts/3-proxy-contracts/uups/V2_UUPSCrowdfundingCampaign.sol -------------------------------------------------------------------------------- /templates/101/evm/deploy/1-hello-zksync/deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/deploy/1-hello-zksync/deploy.ts -------------------------------------------------------------------------------- /templates/101/evm/deploy/1-hello-zksync/interact.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/deploy/1-hello-zksync/interact.ts -------------------------------------------------------------------------------- /templates/101/evm/deploy/2-contract-factory/deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/deploy/2-contract-factory/deploy.ts -------------------------------------------------------------------------------- /templates/101/evm/deploy/3-proxy-contracts/beacon/deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/deploy/3-proxy-contracts/beacon/deploy.ts -------------------------------------------------------------------------------- /templates/101/evm/deploy/3-proxy-contracts/beacon/upgrade.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/deploy/3-proxy-contracts/beacon/upgrade.ts -------------------------------------------------------------------------------- /templates/101/evm/deploy/3-proxy-contracts/transparent/deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/deploy/3-proxy-contracts/transparent/deploy.ts -------------------------------------------------------------------------------- /templates/101/evm/deploy/3-proxy-contracts/transparent/upgrade.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/deploy/3-proxy-contracts/transparent/upgrade.ts -------------------------------------------------------------------------------- /templates/101/evm/deploy/3-proxy-contracts/uups/deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/deploy/3-proxy-contracts/uups/deploy.ts -------------------------------------------------------------------------------- /templates/101/evm/deploy/3-proxy-contracts/uups/upgrade.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/deploy/3-proxy-contracts/uups/upgrade.ts -------------------------------------------------------------------------------- /templates/101/evm/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/hardhat.config.ts -------------------------------------------------------------------------------- /templates/101/evm/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/package.json -------------------------------------------------------------------------------- /templates/101/evm/test/1-hello-zksync/CrowdfundingCampaign.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/test/1-hello-zksync/CrowdfundingCampaign.test.ts -------------------------------------------------------------------------------- /templates/101/evm/test/2-deploy-crowdfunding/CrowdfundingFactory.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/test/2-deploy-crowdfunding/CrowdfundingFactory.test.ts -------------------------------------------------------------------------------- /templates/101/evm/test/3-proxy-contracts/BeaconProxy.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/test/3-proxy-contracts/BeaconProxy.test.ts -------------------------------------------------------------------------------- /templates/101/evm/test/3-proxy-contracts/TransparentProxy.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/test/3-proxy-contracts/TransparentProxy.test.ts -------------------------------------------------------------------------------- /templates/101/evm/test/3-proxy-contracts/UupsProxy.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/test/3-proxy-contracts/UupsProxy.test.ts -------------------------------------------------------------------------------- /templates/101/evm/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/101/evm/tsconfig.json -------------------------------------------------------------------------------- /templates/hardhat/solidity/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/solidity/.env.example -------------------------------------------------------------------------------- /templates/hardhat/solidity/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/solidity/.gitignore -------------------------------------------------------------------------------- /templates/hardhat/solidity/.npmrc: -------------------------------------------------------------------------------- 1 | legacy-peer-deps=true 2 | -------------------------------------------------------------------------------- /templates/hardhat/solidity/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/solidity/LICENSE -------------------------------------------------------------------------------- /templates/hardhat/solidity/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/solidity/README.md -------------------------------------------------------------------------------- /templates/hardhat/solidity/contracts/Greeter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/solidity/contracts/Greeter.sol -------------------------------------------------------------------------------- /templates/hardhat/solidity/contracts/erc20/MyERC20Token.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/solidity/contracts/erc20/MyERC20Token.sol -------------------------------------------------------------------------------- /templates/hardhat/solidity/contracts/nft/MyNFT.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/solidity/contracts/nft/MyNFT.sol -------------------------------------------------------------------------------- /templates/hardhat/solidity/contracts/paymasters/ApprovalPaymaster.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/solidity/contracts/paymasters/ApprovalPaymaster.sol -------------------------------------------------------------------------------- /templates/hardhat/solidity/contracts/paymasters/GeneralPaymaster.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/solidity/contracts/paymasters/GeneralPaymaster.sol -------------------------------------------------------------------------------- /templates/hardhat/solidity/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/solidity/hardhat.config.ts -------------------------------------------------------------------------------- /templates/hardhat/solidity/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/solidity/package-lock.json -------------------------------------------------------------------------------- /templates/hardhat/solidity/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/solidity/package.json -------------------------------------------------------------------------------- /templates/hardhat/solidity/scripts/deploy-erc20.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/solidity/scripts/deploy-erc20.ts -------------------------------------------------------------------------------- /templates/hardhat/solidity/scripts/deploy-nft.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/solidity/scripts/deploy-nft.ts -------------------------------------------------------------------------------- /templates/hardhat/solidity/scripts/deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/solidity/scripts/deploy.ts -------------------------------------------------------------------------------- /templates/hardhat/solidity/scripts/interact.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/solidity/scripts/interact.ts -------------------------------------------------------------------------------- /templates/hardhat/solidity/test/erc20/myerc20token.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/solidity/test/erc20/myerc20token.test.ts -------------------------------------------------------------------------------- /templates/hardhat/solidity/test/greeter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/solidity/test/greeter.test.ts -------------------------------------------------------------------------------- /templates/hardhat/solidity/test/nft/mynft.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/solidity/test/nft/mynft.test.ts -------------------------------------------------------------------------------- /templates/hardhat/solidity/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/solidity/tsconfig.json -------------------------------------------------------------------------------- /templates/hardhat/vyper/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/vyper/.env.example -------------------------------------------------------------------------------- /templates/hardhat/vyper/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/vyper/.gitignore -------------------------------------------------------------------------------- /templates/hardhat/vyper/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/vyper/LICENSE -------------------------------------------------------------------------------- /templates/hardhat/vyper/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/vyper/README.md -------------------------------------------------------------------------------- /templates/hardhat/vyper/contracts/Greeter.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/vyper/contracts/Greeter.vy -------------------------------------------------------------------------------- /templates/hardhat/vyper/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/vyper/hardhat.config.ts -------------------------------------------------------------------------------- /templates/hardhat/vyper/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/vyper/package-lock.json -------------------------------------------------------------------------------- /templates/hardhat/vyper/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/vyper/package.json -------------------------------------------------------------------------------- /templates/hardhat/vyper/scripts/deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/vyper/scripts/deploy.ts -------------------------------------------------------------------------------- /templates/hardhat/vyper/scripts/interact.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/vyper/scripts/interact.ts -------------------------------------------------------------------------------- /templates/hardhat/vyper/test/greeter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/vyper/test/greeter.test.ts -------------------------------------------------------------------------------- /templates/hardhat/vyper/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/hardhat/vyper/tsconfig.json -------------------------------------------------------------------------------- /templates/quickstart/foundry/factory/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/foundry/factory/.gitignore -------------------------------------------------------------------------------- /templates/quickstart/foundry/factory/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/foundry/factory/README.md -------------------------------------------------------------------------------- /templates/quickstart/foundry/factory/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/foundry/factory/foundry.toml -------------------------------------------------------------------------------- /templates/quickstart/foundry/factory/script/DeployFactory.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/foundry/factory/script/DeployFactory.s.sol -------------------------------------------------------------------------------- /templates/quickstart/foundry/factory/src/CrowdfundFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/foundry/factory/src/CrowdfundFactory.sol -------------------------------------------------------------------------------- /templates/quickstart/foundry/factory/src/CrowdfundingCampaign.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/foundry/factory/src/CrowdfundingCampaign.sol -------------------------------------------------------------------------------- /templates/quickstart/foundry/hello-zksync/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/foundry/hello-zksync/.gitignore -------------------------------------------------------------------------------- /templates/quickstart/foundry/hello-zksync/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/foundry/hello-zksync/README.md -------------------------------------------------------------------------------- /templates/quickstart/foundry/hello-zksync/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/foundry/hello-zksync/foundry.toml -------------------------------------------------------------------------------- /templates/quickstart/foundry/hello-zksync/script/Deploy.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/foundry/hello-zksync/script/Deploy.s.sol -------------------------------------------------------------------------------- /templates/quickstart/foundry/hello-zksync/src/Crowdfund.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/foundry/hello-zksync/src/Crowdfund.sol -------------------------------------------------------------------------------- /templates/quickstart/foundry/testing/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/foundry/testing/.gitignore -------------------------------------------------------------------------------- /templates/quickstart/foundry/testing/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/foundry/testing/README.md -------------------------------------------------------------------------------- /templates/quickstart/foundry/testing/foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/foundry/testing/foundry.toml -------------------------------------------------------------------------------- /templates/quickstart/foundry/testing/script/DeployFactory.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/foundry/testing/script/DeployFactory.s.sol -------------------------------------------------------------------------------- /templates/quickstart/foundry/testing/src/CrowdfundFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/foundry/testing/src/CrowdfundFactory.sol -------------------------------------------------------------------------------- /templates/quickstart/foundry/testing/src/CrowdfundingCampaign.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/foundry/testing/src/CrowdfundingCampaign.sol -------------------------------------------------------------------------------- /templates/quickstart/foundry/testing/test/CrowdfundingCampaign.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/foundry/testing/test/CrowdfundingCampaign.t.sol -------------------------------------------------------------------------------- /templates/quickstart/hardhat/factory/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/factory/.env.example -------------------------------------------------------------------------------- /templates/quickstart/hardhat/factory/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/factory/.gitignore -------------------------------------------------------------------------------- /templates/quickstart/hardhat/factory/contracts/CrowdfundFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/factory/contracts/CrowdfundFactory.sol -------------------------------------------------------------------------------- /templates/quickstart/hardhat/factory/contracts/CrowdfundingCampaign.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/factory/contracts/CrowdfundingCampaign.sol -------------------------------------------------------------------------------- /templates/quickstart/hardhat/factory/deploy/deployUsingFactory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/factory/deploy/deployUsingFactory.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/factory/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/factory/hardhat.config.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/factory/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/factory/package.json -------------------------------------------------------------------------------- /templates/quickstart/hardhat/factory/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/factory/tsconfig.json -------------------------------------------------------------------------------- /templates/quickstart/hardhat/hello-zksync/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/hello-zksync/.env.example -------------------------------------------------------------------------------- /templates/quickstart/hardhat/hello-zksync/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/hello-zksync/.gitignore -------------------------------------------------------------------------------- /templates/quickstart/hardhat/hello-zksync/contracts/Crowdfund.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/hello-zksync/contracts/Crowdfund.sol -------------------------------------------------------------------------------- /templates/quickstart/hardhat/hello-zksync/deploy/deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/hello-zksync/deploy/deploy.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/hello-zksync/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/hello-zksync/hardhat.config.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/hello-zksync/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/hello-zksync/package.json -------------------------------------------------------------------------------- /templates/quickstart/hardhat/hello-zksync/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/hello-zksync/tsconfig.json -------------------------------------------------------------------------------- /templates/quickstart/hardhat/paymaster/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/paymaster/.env.example -------------------------------------------------------------------------------- /templates/quickstart/hardhat/paymaster/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/paymaster/.gitignore -------------------------------------------------------------------------------- /templates/quickstart/hardhat/paymaster/contracts/ApprovalFlowPaymaster.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/paymaster/contracts/ApprovalFlowPaymaster.sol -------------------------------------------------------------------------------- /templates/quickstart/hardhat/paymaster/contracts/CrowdfundingCampaign.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/paymaster/contracts/CrowdfundingCampaign.sol -------------------------------------------------------------------------------- /templates/quickstart/hardhat/paymaster/contracts/CrowdfundingCampaignV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/paymaster/contracts/CrowdfundingCampaignV2.sol -------------------------------------------------------------------------------- /templates/quickstart/hardhat/paymaster/contracts/CrowdfundingCampaignV2_UUPS.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/paymaster/contracts/CrowdfundingCampaignV2_UUPS.sol -------------------------------------------------------------------------------- /templates/quickstart/hardhat/paymaster/contracts/CrowdfundingCampaign_UUPS.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/paymaster/contracts/CrowdfundingCampaign_UUPS.sol -------------------------------------------------------------------------------- /templates/quickstart/hardhat/paymaster/contracts/GaslessPaymaster.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/paymaster/contracts/GaslessPaymaster.sol -------------------------------------------------------------------------------- /templates/quickstart/hardhat/paymaster/contracts/erc20/MyERC20Token.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/paymaster/contracts/erc20/MyERC20Token.sol -------------------------------------------------------------------------------- /templates/quickstart/hardhat/paymaster/deploy/deployApprovalFlowPaymaster.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/paymaster/deploy/deployApprovalFlowPaymaster.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/paymaster/deploy/deployBeaconProxy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/paymaster/deploy/deployBeaconProxy.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/paymaster/deploy/deployGaslessPaymaster.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/paymaster/deploy/deployGaslessPaymaster.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/paymaster/deploy/deployTransparentProxy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/paymaster/deploy/deployTransparentProxy.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/paymaster/deploy/deployUUPS.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/paymaster/deploy/deployUUPS.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/paymaster/deploy/interact/interactWithApprovalFlowPaymaster.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/paymaster/deploy/interact/interactWithApprovalFlowPaymaster.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/paymaster/deploy/interact/interactWithGaslessPaymaster.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/paymaster/deploy/interact/interactWithGaslessPaymaster.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/paymaster/deploy/upgrade-scripts/upgradeBeaconCrowdfundingCampaign.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/paymaster/deploy/upgrade-scripts/upgradeBeaconCrowdfundingCampaign.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/paymaster/deploy/upgrade-scripts/upgradeCrowdfundingCampaign.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/paymaster/deploy/upgrade-scripts/upgradeCrowdfundingCampaign.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/paymaster/deploy/upgrade-scripts/upgradeUUPSCrowdfundingCampaign.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/paymaster/deploy/upgrade-scripts/upgradeUUPSCrowdfundingCampaign.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/paymaster/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/paymaster/hardhat.config.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/paymaster/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/paymaster/package.json -------------------------------------------------------------------------------- /templates/quickstart/hardhat/paymaster/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/paymaster/tsconfig.json -------------------------------------------------------------------------------- /templates/quickstart/hardhat/testing/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/testing/.env.example -------------------------------------------------------------------------------- /templates/quickstart/hardhat/testing/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/testing/.gitignore -------------------------------------------------------------------------------- /templates/quickstart/hardhat/testing/contracts/CrowdfundFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/testing/contracts/CrowdfundFactory.sol -------------------------------------------------------------------------------- /templates/quickstart/hardhat/testing/contracts/CrowdfundingCampaign.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/testing/contracts/CrowdfundingCampaign.sol -------------------------------------------------------------------------------- /templates/quickstart/hardhat/testing/deploy/deployUsingFactory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/testing/deploy/deployUsingFactory.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/testing/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/testing/hardhat.config.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/testing/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/testing/package.json -------------------------------------------------------------------------------- /templates/quickstart/hardhat/testing/test/crowdFunding.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/testing/test/crowdFunding.test.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/testing/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/testing/tsconfig.json -------------------------------------------------------------------------------- /templates/quickstart/hardhat/testing/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/testing/utils/index.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/upgradability/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/upgradability/.env.example -------------------------------------------------------------------------------- /templates/quickstart/hardhat/upgradability/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/upgradability/.gitignore -------------------------------------------------------------------------------- /templates/quickstart/hardhat/upgradability/contracts/CrowdfundingCampaign.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/upgradability/contracts/CrowdfundingCampaign.sol -------------------------------------------------------------------------------- /templates/quickstart/hardhat/upgradability/contracts/CrowdfundingCampaignV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/upgradability/contracts/CrowdfundingCampaignV2.sol -------------------------------------------------------------------------------- /templates/quickstart/hardhat/upgradability/contracts/CrowdfundingCampaignV2_UUPS.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/upgradability/contracts/CrowdfundingCampaignV2_UUPS.sol -------------------------------------------------------------------------------- /templates/quickstart/hardhat/upgradability/contracts/CrowdfundingCampaign_UUPS.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/upgradability/contracts/CrowdfundingCampaign_UUPS.sol -------------------------------------------------------------------------------- /templates/quickstart/hardhat/upgradability/deploy/deployBeaconProxy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/upgradability/deploy/deployBeaconProxy.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/upgradability/deploy/deployTransparentProxy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/upgradability/deploy/deployTransparentProxy.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/upgradability/deploy/deployUUPS.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/upgradability/deploy/deployUUPS.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/upgradability/deploy/upgrade-scripts/upgradeBeaconCrowdfundingCampaign.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/upgradability/deploy/upgrade-scripts/upgradeBeaconCrowdfundingCampaign.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/upgradability/deploy/upgrade-scripts/upgradeCrowdfundingCampaign.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/upgradability/deploy/upgrade-scripts/upgradeCrowdfundingCampaign.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/upgradability/deploy/upgrade-scripts/upgradeUUPSCrowdfundingCampaign.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/upgradability/deploy/upgrade-scripts/upgradeUUPSCrowdfundingCampaign.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/upgradability/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/upgradability/hardhat.config.ts -------------------------------------------------------------------------------- /templates/quickstart/hardhat/upgradability/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/upgradability/package.json -------------------------------------------------------------------------------- /templates/quickstart/hardhat/upgradability/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matter-labs/zksync-contract-templates/HEAD/templates/quickstart/hardhat/upgradability/tsconfig.json --------------------------------------------------------------------------------