├── .env.example ├── .eslintignore ├── .eslintrc.js ├── .github ├── cover.png ├── semantic.yml └── workflows │ ├── install │ └── action.yml │ ├── lint.yml │ └── unit_test.yml ├── .gitignore ├── .prettierignore ├── .prettierrc ├── .solcover.js ├── README.md ├── contracts ├── examples │ ├── nft-auction │ │ ├── NFTAuction.sol │ │ └── components │ │ │ ├── Errors.sol │ │ │ └── NFTAuctionConfig.sol │ └── simple-storage │ │ └── SimpleStorage.sol └── vendor │ ├── fee │ ├── FeeContract.sol │ └── interfaces │ │ ├── IFeeContract.sol │ │ └── IFeeOracle.sol │ ├── h1-developed-application │ ├── H1DevelopedApplication.sol │ ├── components │ │ ├── Errors.sol │ │ ├── H1DevelopedAccessControl.sol │ │ ├── H1DevelopedPausable.sol │ │ └── H1DevelopedUtils.sol │ └── interfaces │ │ ├── IH1DevelopedApplication.sol │ │ └── IH1DevelopedPausable.sol │ ├── mocks │ ├── FixedFeeOracle.sol │ ├── MockAccountManager.sol │ ├── MockNFT.sol │ └── MockPermissionsInterface.sol │ └── proof-of-identity │ ├── ProofOfIdentity.sol │ ├── interfaces │ ├── IProofOfIdentity.sol │ └── vendor │ │ ├── IAccountManager.sol │ │ └── IPermissionsInterface.sol │ └── libraries │ ├── AttributeUtils.sol │ └── BytesConversion.sol ├── environment.d.ts ├── hardhat.config.ts ├── package.json ├── scripts ├── deployLocal.ts └── deployTestnet.ts ├── tasks ├── accounts.ts └── index.ts ├── test ├── constants.ts ├── nft-auction │ ├── auction.test.ts │ └── setup.ts └── simple-storage │ ├── setup.ts │ └── simpleStorage.test.ts ├── tsconfig.json ├── utils ├── checkENV.ts ├── deploy │ ├── README.md │ ├── deployWrapper.ts │ ├── fee │ │ ├── deployFeeContract.ts │ │ └── index.ts │ ├── nft-auction │ │ ├── deployNFTAuction.ts │ │ └── index.ts │ ├── proof-of-identity │ │ ├── deployProofOfIdentity.ts │ │ └── index.ts │ ├── simple-storage │ │ ├── deploySimpleStorage.ts │ │ └── index.ts │ ├── upgrade.ts │ └── verifyWrapper.ts ├── dummyAddresses.ts ├── fnSelector.ts ├── json.ts ├── random.ts ├── time.ts ├── token.ts └── transaction.ts └── vendor-docs ├── fee └── FeeContract.md ├── h1-developed-application ├── H1DevelopedApplication.md └── components │ ├── Errors.md │ ├── H1DevelopedAccessControl.md │ ├── H1DevelopedPausable.md │ └── H1DevelopedUtils.md └── proof-of-identity ├── ProofOfIdentity.md └── libraries ├── AttributeUtils.md └── BytesConversion.md /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/.github/cover.png -------------------------------------------------------------------------------- /.github/semantic.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/.github/semantic.yml -------------------------------------------------------------------------------- /.github/workflows/install/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/.github/workflows/install/action.yml -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/unit_test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/.github/workflows/unit_test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/.prettierrc -------------------------------------------------------------------------------- /.solcover.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/.solcover.js -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/README.md -------------------------------------------------------------------------------- /contracts/examples/nft-auction/NFTAuction.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/contracts/examples/nft-auction/NFTAuction.sol -------------------------------------------------------------------------------- /contracts/examples/nft-auction/components/Errors.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/contracts/examples/nft-auction/components/Errors.sol -------------------------------------------------------------------------------- /contracts/examples/nft-auction/components/NFTAuctionConfig.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/contracts/examples/nft-auction/components/NFTAuctionConfig.sol -------------------------------------------------------------------------------- /contracts/examples/simple-storage/SimpleStorage.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/contracts/examples/simple-storage/SimpleStorage.sol -------------------------------------------------------------------------------- /contracts/vendor/fee/FeeContract.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/contracts/vendor/fee/FeeContract.sol -------------------------------------------------------------------------------- /contracts/vendor/fee/interfaces/IFeeContract.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/contracts/vendor/fee/interfaces/IFeeContract.sol -------------------------------------------------------------------------------- /contracts/vendor/fee/interfaces/IFeeOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/contracts/vendor/fee/interfaces/IFeeOracle.sol -------------------------------------------------------------------------------- /contracts/vendor/h1-developed-application/H1DevelopedApplication.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/contracts/vendor/h1-developed-application/H1DevelopedApplication.sol -------------------------------------------------------------------------------- /contracts/vendor/h1-developed-application/components/Errors.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/contracts/vendor/h1-developed-application/components/Errors.sol -------------------------------------------------------------------------------- /contracts/vendor/h1-developed-application/components/H1DevelopedAccessControl.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/contracts/vendor/h1-developed-application/components/H1DevelopedAccessControl.sol -------------------------------------------------------------------------------- /contracts/vendor/h1-developed-application/components/H1DevelopedPausable.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/contracts/vendor/h1-developed-application/components/H1DevelopedPausable.sol -------------------------------------------------------------------------------- /contracts/vendor/h1-developed-application/components/H1DevelopedUtils.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/contracts/vendor/h1-developed-application/components/H1DevelopedUtils.sol -------------------------------------------------------------------------------- /contracts/vendor/h1-developed-application/interfaces/IH1DevelopedApplication.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/contracts/vendor/h1-developed-application/interfaces/IH1DevelopedApplication.sol -------------------------------------------------------------------------------- /contracts/vendor/h1-developed-application/interfaces/IH1DevelopedPausable.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/contracts/vendor/h1-developed-application/interfaces/IH1DevelopedPausable.sol -------------------------------------------------------------------------------- /contracts/vendor/mocks/FixedFeeOracle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/contracts/vendor/mocks/FixedFeeOracle.sol -------------------------------------------------------------------------------- /contracts/vendor/mocks/MockAccountManager.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/contracts/vendor/mocks/MockAccountManager.sol -------------------------------------------------------------------------------- /contracts/vendor/mocks/MockNFT.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/contracts/vendor/mocks/MockNFT.sol -------------------------------------------------------------------------------- /contracts/vendor/mocks/MockPermissionsInterface.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/contracts/vendor/mocks/MockPermissionsInterface.sol -------------------------------------------------------------------------------- /contracts/vendor/proof-of-identity/ProofOfIdentity.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/contracts/vendor/proof-of-identity/ProofOfIdentity.sol -------------------------------------------------------------------------------- /contracts/vendor/proof-of-identity/interfaces/IProofOfIdentity.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/contracts/vendor/proof-of-identity/interfaces/IProofOfIdentity.sol -------------------------------------------------------------------------------- /contracts/vendor/proof-of-identity/interfaces/vendor/IAccountManager.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/contracts/vendor/proof-of-identity/interfaces/vendor/IAccountManager.sol -------------------------------------------------------------------------------- /contracts/vendor/proof-of-identity/interfaces/vendor/IPermissionsInterface.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/contracts/vendor/proof-of-identity/interfaces/vendor/IPermissionsInterface.sol -------------------------------------------------------------------------------- /contracts/vendor/proof-of-identity/libraries/AttributeUtils.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/contracts/vendor/proof-of-identity/libraries/AttributeUtils.sol -------------------------------------------------------------------------------- /contracts/vendor/proof-of-identity/libraries/BytesConversion.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/contracts/vendor/proof-of-identity/libraries/BytesConversion.sol -------------------------------------------------------------------------------- /environment.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/environment.d.ts -------------------------------------------------------------------------------- /hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/hardhat.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/package.json -------------------------------------------------------------------------------- /scripts/deployLocal.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/scripts/deployLocal.ts -------------------------------------------------------------------------------- /scripts/deployTestnet.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/scripts/deployTestnet.ts -------------------------------------------------------------------------------- /tasks/accounts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/tasks/accounts.ts -------------------------------------------------------------------------------- /tasks/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./accounts"; 2 | -------------------------------------------------------------------------------- /test/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/test/constants.ts -------------------------------------------------------------------------------- /test/nft-auction/auction.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/test/nft-auction/auction.test.ts -------------------------------------------------------------------------------- /test/nft-auction/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/test/nft-auction/setup.ts -------------------------------------------------------------------------------- /test/simple-storage/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/test/simple-storage/setup.ts -------------------------------------------------------------------------------- /test/simple-storage/simpleStorage.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/test/simple-storage/simpleStorage.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/tsconfig.json -------------------------------------------------------------------------------- /utils/checkENV.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/utils/checkENV.ts -------------------------------------------------------------------------------- /utils/deploy/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/utils/deploy/README.md -------------------------------------------------------------------------------- /utils/deploy/deployWrapper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/utils/deploy/deployWrapper.ts -------------------------------------------------------------------------------- /utils/deploy/fee/deployFeeContract.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/utils/deploy/fee/deployFeeContract.ts -------------------------------------------------------------------------------- /utils/deploy/fee/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./deployFeeContract"; 2 | -------------------------------------------------------------------------------- /utils/deploy/nft-auction/deployNFTAuction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/utils/deploy/nft-auction/deployNFTAuction.ts -------------------------------------------------------------------------------- /utils/deploy/nft-auction/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./deployNFTAuction"; 2 | -------------------------------------------------------------------------------- /utils/deploy/proof-of-identity/deployProofOfIdentity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/utils/deploy/proof-of-identity/deployProofOfIdentity.ts -------------------------------------------------------------------------------- /utils/deploy/proof-of-identity/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./deployProofOfIdentity"; 2 | -------------------------------------------------------------------------------- /utils/deploy/simple-storage/deploySimpleStorage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/utils/deploy/simple-storage/deploySimpleStorage.ts -------------------------------------------------------------------------------- /utils/deploy/simple-storage/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./deploySimpleStorage"; 2 | -------------------------------------------------------------------------------- /utils/deploy/upgrade.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/utils/deploy/upgrade.ts -------------------------------------------------------------------------------- /utils/deploy/verifyWrapper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/utils/deploy/verifyWrapper.ts -------------------------------------------------------------------------------- /utils/dummyAddresses.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/utils/dummyAddresses.ts -------------------------------------------------------------------------------- /utils/fnSelector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/utils/fnSelector.ts -------------------------------------------------------------------------------- /utils/json.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/utils/json.ts -------------------------------------------------------------------------------- /utils/random.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/utils/random.ts -------------------------------------------------------------------------------- /utils/time.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/utils/time.ts -------------------------------------------------------------------------------- /utils/token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/utils/token.ts -------------------------------------------------------------------------------- /utils/transaction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/utils/transaction.ts -------------------------------------------------------------------------------- /vendor-docs/fee/FeeContract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/vendor-docs/fee/FeeContract.md -------------------------------------------------------------------------------- /vendor-docs/h1-developed-application/H1DevelopedApplication.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/vendor-docs/h1-developed-application/H1DevelopedApplication.md -------------------------------------------------------------------------------- /vendor-docs/h1-developed-application/components/Errors.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/vendor-docs/h1-developed-application/components/Errors.md -------------------------------------------------------------------------------- /vendor-docs/h1-developed-application/components/H1DevelopedAccessControl.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/vendor-docs/h1-developed-application/components/H1DevelopedAccessControl.md -------------------------------------------------------------------------------- /vendor-docs/h1-developed-application/components/H1DevelopedPausable.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/vendor-docs/h1-developed-application/components/H1DevelopedPausable.md -------------------------------------------------------------------------------- /vendor-docs/h1-developed-application/components/H1DevelopedUtils.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/vendor-docs/h1-developed-application/components/H1DevelopedUtils.md -------------------------------------------------------------------------------- /vendor-docs/proof-of-identity/ProofOfIdentity.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/vendor-docs/proof-of-identity/ProofOfIdentity.md -------------------------------------------------------------------------------- /vendor-docs/proof-of-identity/libraries/AttributeUtils.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/vendor-docs/proof-of-identity/libraries/AttributeUtils.md -------------------------------------------------------------------------------- /vendor-docs/proof-of-identity/libraries/BytesConversion.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haven1network/dev-onboarding-template/HEAD/vendor-docs/proof-of-identity/libraries/BytesConversion.md --------------------------------------------------------------------------------