diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000000..39bbd2681d --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,4 @@ +{ + "image": "mcr.microsoft.com/devcontainers/universal:2", + "features": {} +} diff --git a/.github/workflows/azure-webapps-node.yml b/.github/workflows/azure-webapps-node.yml new file mode 100644 index 0000000000..2ebbac24b0 --- /dev/null +++ b/.github/workflows/azure-webapps-node.yml @@ -0,0 +1,78 @@ +# This workflow will build and push a node.js application to an Azure Web App when a commit is pushed to your default branch. +# +# This workflow assumes you have already created the target Azure App Service web app. +# For instructions see https://docs.microsoft.com/en-us/azure/app-service/quickstart-nodejs?tabs=linux&pivots=development-environment-cli +# +# To configure this workflow: +# +# 1. Download the Publish Profile for your Azure Web App. You can download this file from the Overview page of your Web App in the Azure Portal. +# For more information: https://docs.microsoft.com/en-us/azure/app-service/deploy-github-actions?tabs=applevel#generate-deployment-credentials +# +# 2. Create a secret in your repository named AZURE_WEBAPP_PUBLISH_PROFILE, paste the publish profile contents as the value of the secret. +# For instructions on obtaining the publish profile see: https://docs.microsoft.com/azure/app-service/deploy-github-actions#configure-the-github-secret +# +# 3. Change the value for the AZURE_WEBAPP_NAME. Optionally, change the AZURE_WEBAPP_PACKAGE_PATH and NODE_VERSION environment variables below. +# +# For more information on GitHub Actions for Azure: https://github.com/Azure/Actions +# For more information on the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy +# For more samples to get started with GitHub Action workflows to deploy to Azure: https://github.com/Azure/actions-workflow-samples + +on: + push: + branches: [ "main" ] + workflow_dispatch: + +env: + AZURE_WEBAPP_NAME: your-app-name # set this to your application's name + AZURE_WEBAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root + NODE_VERSION: '20.x' # set this to the node version to use + +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: ${{ env.NODE_VERSION }} + cache: 'npm' + + - name: npm install, build, and test + run: | + npm install + npm run build --if-present + npm run test --if-present + + - name: Upload artifact for deployment job + uses: actions/upload-artifact@v4 + with: + name: node-app + path: . + + deploy: + permissions: + contents: none + runs-on: ubuntu-latest + needs: build + environment: + name: 'Development' + url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} + + steps: + - name: Download artifact from build job + uses: actions/download-artifact@v4 + with: + name: node-app + + - name: 'Deploy to Azure WebApp' + id: deploy-to-webapp + uses: azure/webapps-deploy@v2 + with: + app-name: ${{ env.AZURE_WEBAPP_NAME }} + publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }} + package: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000000..9650b6c04b --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,99 @@ +# For most projects, this workflow file will not need changing; you simply need +# to commit it to your repository. +# +# You may wish to alter this file to override the set of languages analyzed, +# or to provide custom queries or build logic. +# +# ******** NOTE ******** +# We have attempted to detect the languages in your repository. Please check +# the `language` matrix defined below to confirm you have the correct set of +# supported CodeQL languages. +# +name: "CodeQL Advanced" + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + schedule: + - cron: '31 20 * * 5' + +jobs: + analyze: + name: Analyze (${{ matrix.language }}) + # Runner size impacts CodeQL analysis time. To learn more, please see: + # - https://gh.io/recommended-hardware-resources-for-running-codeql + # - https://gh.io/supported-runners-and-hardware-resources + # - https://gh.io/using-larger-runners (GitHub.com only) + # Consider using larger runners or machines with greater resources for possible analysis time improvements. + runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} + permissions: + # required for all workflows + security-events: write + + # required to fetch internal or private CodeQL packs + packages: read + + # only required for workflows in private repositories + actions: read + contents: read + + strategy: + fail-fast: false + matrix: + include: + - language: actions + build-mode: none + # CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift' + # Use `c-cpp` to analyze code written in C, C++ or both + # Use 'java-kotlin' to analyze code written in Java, Kotlin or both + # Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both + # To learn more about changing the languages that are analyzed or customizing the build mode for your analysis, + # see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning. + # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how + # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + # Add any setup steps before running the `github/codeql-action/init` action. + # This includes steps like installing compilers or runtimes (`actions/setup-node` + # or others). This is typically only required for manual builds. + # - name: Setup runtime (example) + # uses: actions/setup-example@v1 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v4 + with: + languages: ${{ matrix.language }} + build-mode: ${{ matrix.build-mode }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + + # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs + # queries: security-extended,security-and-quality + + # If the analyze step fails for one of the languages you are analyzing with + # "We were unable to automatically build your code", modify the matrix above + # to set the build mode to "manual" for that language. Then modify this step + # to build your code. + # ℹ️ Command-line programs to run using the OS shell. + # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun + - name: Run manual build steps + if: matrix.build-mode == 'manual' + shell: bash + run: | + echo 'If you are using a "manual" build mode for one or more of the' \ + 'languages you are analyzing, replace this with the commands to build' \ + 'your code, for example:' + echo ' make bootstrap' + echo ' make release' + exit 1 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v4 + with: + category: "/language:${{matrix.language}}" diff --git a/.github/workflows/generator-generic-ossf-slsa3-publish.yml b/.github/workflows/generator-generic-ossf-slsa3-publish.yml new file mode 100644 index 0000000000..35c829b139 --- /dev/null +++ b/.github/workflows/generator-generic-ossf-slsa3-publish.yml @@ -0,0 +1,66 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +# This workflow lets you generate SLSA provenance file for your project. +# The generation satisfies level 3 for the provenance requirements - see https://slsa.dev/spec/v0.1/requirements +# The project is an initiative of the OpenSSF (openssf.org) and is developed at +# https://github.com/slsa-framework/slsa-github-generator. +# The provenance file can be verified using https://github.com/slsa-framework/slsa-verifier. +# For more information about SLSA and how it improves the supply-chain, visit slsa.dev. + +name: SLSA generic generator +on: + workflow_dispatch: + release: + types: [created] + +jobs: + build: + runs-on: ubuntu-latest + outputs: + digests: ${{ steps.hash.outputs.digests }} + + steps: + - uses: actions/checkout@v4 + + # ======================================================== + # + # Step 1: Build your artifacts. + # + # ======================================================== + - name: Build artifacts + run: | + # These are some amazing artifacts. + echo "artifact1" > artifact1 + echo "artifact2" > artifact2 + + # ======================================================== + # + # Step 2: Add a step to generate the provenance subjects + # as shown below. Update the sha256 sum arguments + # to include all binaries that you generate + # provenance for. + # + # ======================================================== + - name: Generate subject for provenance + id: hash + run: | + set -euo pipefail + + # List the artifacts the provenance will refer to. + files=$(ls artifact*) + # Generate the subjects (base64 encoded). + echo "hashes=$(sha256sum $files | base64 -w0)" >> "${GITHUB_OUTPUT}" + + provenance: + needs: [build] + permissions: + actions: read # To read the workflow path. + id-token: write # To sign the provenance. + contents: write # To add assets to a release. + uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.4.0 + with: + base64-subjects: "${{ needs.build.outputs.digests }}" + upload-assets: true # Optional: Upload to a new release diff --git a/.github/workflows/google.yml b/.github/workflows/google.yml new file mode 100644 index 0000000000..0b5c7d12f2 --- /dev/null +++ b/.github/workflows/google.yml @@ -0,0 +1,116 @@ +# This workflow will build a docker container, publish it to Google Container +# Registry, and deploy it to GKE when there is a push to the "main" +# branch. +# +# To configure this workflow: +# +# 1. Enable the following Google Cloud APIs: +# +# - Artifact Registry (artifactregistry.googleapis.com) +# - Google Kubernetes Engine (container.googleapis.com) +# - IAM Credentials API (iamcredentials.googleapis.com) +# +# You can learn more about enabling APIs at +# https://support.google.com/googleapi/answer/6158841. +# +# 2. Ensure that your repository contains the necessary configuration for your +# Google Kubernetes Engine cluster, including deployment.yml, +# kustomization.yml, service.yml, etc. +# +# 3. Create and configure a Workload Identity Provider for GitHub: +# https://github.com/google-github-actions/auth#preferred-direct-workload-identity-federation. +# +# Depending on how you authenticate, you will need to grant an IAM principal +# permissions on Google Cloud: +# +# - Artifact Registry Administrator (roles/artifactregistry.admin) +# - Kubernetes Engine Developer (roles/container.developer) +# +# You can learn more about setting IAM permissions at +# https://cloud.google.com/iam/docs/manage-access-other-resources +# +# 5. Change the values in the "env" block to match your values. + +name: 'Build and Deploy to GKE' + +on: + push: + branches: + - '"main"' + +env: + PROJECT_ID: 'my-project' # TODO: update to your Google Cloud project ID + GAR_LOCATION: 'us-central1' # TODO: update to your region + GKE_CLUSTER: 'cluster-1' # TODO: update to your cluster name + GKE_ZONE: 'us-central1-c' # TODO: update to your cluster zone + DEPLOYMENT_NAME: 'gke-test' # TODO: update to your deployment name + REPOSITORY: 'samples' # TODO: update to your Artifact Registry docker repository name + IMAGE: 'static-site' + WORKLOAD_IDENTITY_PROVIDER: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider' # TODO: update to your workload identity provider + +jobs: + setup-build-publish-deploy: + name: 'Setup, Build, Publish, and Deploy' + runs-on: 'ubuntu-latest' + environment: 'production' + + permissions: + contents: 'read' + id-token: 'write' + + steps: + - name: 'Checkout' + uses: 'actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332' # actions/checkout@v4 + + # Configure Workload Identity Federation and generate an access token. + # + # See https://github.com/google-github-actions/auth for more options, + # including authenticating via a JSON credentials file. + - id: 'auth' + name: 'Authenticate to Google Cloud' + uses: 'google-github-actions/auth@f112390a2df9932162083945e46d439060d66ec2' # google-github-actions/auth@v2 + with: + workload_identity_provider: '${{ env.WORKLOAD_IDENTITY_PROVIDER }}' + + # Authenticate Docker to Google Cloud Artifact Registry + - name: 'Docker Auth' + uses: 'docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567' # docker/login-action@v3 + with: + username: 'oauth2accesstoken' + password: '${{ steps.auth.outputs.auth_token }}' + registry: '${{ env.GAR_LOCATION }}-docker.pkg.dev' + + # Get the GKE credentials so we can deploy to the cluster + - name: 'Set up GKE credentials' + uses: 'google-github-actions/get-gke-credentials@6051de21ad50fbb1767bc93c11357a49082ad116' # google-github-actions/get-gke-credentials@v2 + with: + cluster_name: '${{ env.GKE_CLUSTER }}' + location: '${{ env.GKE_ZONE }}' + + # Build the Docker image + - name: 'Build and push Docker container' + run: |- + DOCKER_TAG="${GAR_LOCATION}-docker.pkg.dev/${PROJECT_ID}/${REPOSITORY}/${IMAGE}:${GITHUB_SHA}" + + docker build \ + --tag "${DOCKER_TAG}" \ + --build-arg GITHUB_SHA="${GITHUB_SHA}" \ + --build-arg GITHUB_REF="${GITHUB_REF}" \ + . + + docker push "${DOCKER_TAG}" + + # Set up kustomize + - name: 'Set up Kustomize' + run: |- + curl -sfLo kustomize https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv5.4.3/kustomize_v5.4.3_linux_amd64.tar.gz + chmod u+x ./kustomize + + # Deploy the Docker image to the GKE cluster + - name: 'Deploy to GKE' + run: |- + # replacing the image name in the k8s template + ./kustomize edit set image LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY/IMAGE:TAG=$GAR_LOCATION-docker.pkg.dev/$PROJECT_ID/$REPOSITORY/$IMAGE:$GITHUB_SHA + ./kustomize build . | kubectl apply -f - + kubectl rollout status deployment/$DEPLOYMENT_NAME + kubectl get services -o wide diff --git a/.github/workflows/jekyll-docker.yml b/.github/workflows/jekyll-docker.yml new file mode 100644 index 0000000000..3d0eedb4ce --- /dev/null +++ b/.github/workflows/jekyll-docker.yml @@ -0,0 +1,20 @@ +name: Jekyll site CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Build the site in the jekyll/builder container + run: | + docker run \ + -v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \ + jekyll/builder:latest /bin/bash -c "chmod -R 777 /srv/jekyll && jekyll build --future" diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000000..034e848032 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,21 @@ +# Security Policy + +## Supported Versions + +Use this section to tell people about which versions of your project are +currently being supported with security updates. + +| Version | Supported | +| ------- | ------------------ | +| 5.1.x | :white_check_mark: | +| 5.0.x | :x: | +| 4.0.x | :white_check_mark: | +| < 4.0 | :x: | + +## Reporting a Vulnerability + +Use this section to tell people how to report a vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff --git a/devcontainer.json b/devcontainer.json new file mode 100644 index 0000000000..5c27ec05e9 --- /dev/null +++ b/devcontainer.json @@ -0,0 +1 @@ +ghcr.io/devcontainers/features/anaconda:1 \ No newline at end of file diff --git a/gent/contracts/DWApproveGuard.sol b/gent/contracts/DWApproveGuard.sol new file mode 100644 index 0000000000..80180756de --- /dev/null +++ b/gent/contracts/DWApproveGuard.sol @@ -0,0 +1,21 @@ +{ + "status":"1", + "message":"OK", + "result":[ + { + "SourceCode":"pragma solidity 0.6.12;\r\n\r\n\r\n// \r\n/*\r\n * @dev Provides information about the current execution context, including the\r\n * sender of the transaction and its data. While these are generally available\r\n * via msg.sender and msg.data, they should not be accessed in such a direct\r\n * manner, since when dealing with GSN meta-transactions the account sending and\r\n * paying for execution may not be the actual sender (as far as an application\r\n * is concerned).\r\n *\r\n * This contract is only required for intermediate, library-like contracts.\r\n */\r\ncontract Context {\r\n // Empty internal constructor, to prevent people from mistakenly deploying\r\n // an instance of this contract, which should be used via inheritance.\r\n constructor() internal {}\r\n\r\n function _msgSender() internal view returns (address payable) {\r\n return msg.sender;\r\n }\r\n\r\n function _msgData() internal view returns (bytes memory) {\r\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\r\n return msg.data;\r\n }\r\n}\r\n\r\n// \r\n/**\r\n * @dev Contract module which provides a basic access control mechanism, where\r\n * there is an account (an owner) that can be granted exclusive access to\r\n * specific functions.\r\n *\r\n * By default, the owner account will be the one that deploys the contract. This\r\n * can later be changed with {transferOwnership}.\r\n *\r\n * This module is used through inheritance. It will make available the modifier\r\n * `onlyOwner`, which can be applied to your functions to restrict their use to\r\n * the owner.\r\n */\r\ncontract Ownable is Context {\r\n address private _owner;\r\n\r\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\r\n\r\n /**\r\n * @dev Initializes the contract setting the deployer as the initial owner.\r\n */\r\n constructor() internal {\r\n address msgSender = _msgSender();\r\n _owner = msgSender;\r\n emit OwnershipTransferred(address(0), msgSender);\r\n }\r\n\r\n /**\r\n * @dev Returns the address of the current owner.\r\n */\r\n function owner() public view returns (address) {\r\n return _owner;\r\n }\r\n\r\n /**\r\n * @dev Throws if called by any account other than the owner.\r\n */\r\n modifier onlyOwner() {\r\n require(_owner == _msgSender(), 'Ownable: caller is not the owner');\r\n _;\r\n }\r\n\r\n /**\r\n * @dev Leaves the contract without owner. It will not be possible to call\r\n * `onlyOwner` functions anymore. Can only be called by the current owner.\r\n *\r\n * NOTE: Renouncing ownership will leave the contract without an owner,\r\n * thereby removing any functionality that is only available to the owner.\r\n */\r\n function renounceOwnership() public onlyOwner {\r\n emit OwnershipTransferred(_owner, address(0));\r\n _owner = address(0);\r\n }\r\n\r\n /**\r\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\r\n * Can only be called by the current owner.\r\n */\r\n function transferOwnership(address newOwner) public onlyOwner {\r\n _transferOwnership(newOwner);\r\n }\r\n\r\n /**\r\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\r\n */\r\n function _transferOwnership(address newOwner) internal {\r\n require(newOwner != address(0), 'Ownable: new owner is the zero address');\r\n emit OwnershipTransferred(_owner, newOwner);\r\n _owner = newOwner;\r\n }\r\n}\r\n\r\n// \r\ninterface IBEP20 {\r\n /**\r\n * @dev Returns the amount of tokens in existence.\r\n */\r\n function totalSupply() external view returns (uint256);\r\n\r\n /**\r\n * @dev Returns the token decimals.\r\n */\r\n function decimals() external view returns (uint8);\r\n\r\n /**\r\n * @dev Returns the token symbol.\r\n */\r\n function symbol() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the token name.\r\n */\r\n function name() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the bep token owner.\r\n */\r\n function getOwner() external view returns (address);\r\n\r\n /**\r\n * @dev Returns the amount of tokens owned by `account`.\r\n */\r\n function balanceOf(address account) external view returns (uint256);\r\n\r\n /**\r\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\r\n *\r\n * Returns a boolean value indicating whether the operation succeeded.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function transfer(address recipient, uint256 amount) external returns (bool);\r\n\r\n /**\r\n * @dev Returns the remaining number of tokens that `spender` will be\r\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\r\n * zero by default.\r\n *\r\n * This value changes when {approve} or {transferFrom} are called.\r\n */\r\n function allowance(address _owner, address spender) external view returns (uint256);\r\n\r\n /**\r\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\r\n *\r\n * Returns a boolean value indicating whether the operation succeeded.\r\n *\r\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\r\n * that someone may use both the old and the new allowance by unfortunate\r\n * transaction ordering. One possible solution to mitigate this race\r\n * condition is to first reduce the spender's allowance to 0 and set the\r\n * desired value afterwards:\r\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function approve(address spender, uint256 amount) external returns (bool);\r\n\r\n /**\r\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\r\n * allowance mechanism. `amount` is then deducted from the caller's\r\n * allowance.\r\n *\r\n * Returns a boolean value indicating whether the operation succeeded.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function transferFrom(\r\n address sender,\r\n address recipient,\r\n uint256 amount\r\n ) external returns (bool);\r\n\r\n /**\r\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\r\n * another (`to`).\r\n *\r\n * Note that `value` may be zero.\r\n */\r\n event Transfer(address indexed from, address indexed to, uint256 value);\r\n\r\n /**\r\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\r\n * a call to {approve}. `value` is the new allowance.\r\n */\r\n event Approval(address indexed owner, address indexed spender, uint256 value);\r\n}\r\n\r\n// \r\n/**\r\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\r\n * checks.\r\n *\r\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\r\n * in bugs, because programmers usually assume that an overflow raises an\r\n * error, which is the standard behavior in high level programming languages.\r\n * `SafeMath` restores this intuition by reverting the transaction when an\r\n * operation overflows.\r\n *\r\n * Using this library instead of the unchecked operations eliminates an entire\r\n * class of bugs, so it's recommended to use it always.\r\n */\r\nlibrary SafeMath {\r\n /**\r\n * @dev Returns the addition of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `+` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Addition cannot overflow.\r\n */\r\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\r\n uint256 c = a + b;\r\n require(c >= a, 'SafeMath: addition overflow');\r\n\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting on\r\n * overflow (when the result is negative).\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\r\n return sub(a, b, 'SafeMath: subtraction overflow');\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\r\n * overflow (when the result is negative).\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(\r\n uint256 a,\r\n uint256 b,\r\n string memory errorMessage\r\n ) internal pure returns (uint256) {\r\n require(b <= a, errorMessage);\r\n uint256 c = a - b;\r\n\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `*` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Multiplication cannot overflow.\r\n */\r\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\r\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\r\n // benefit is lost if 'b' is also tested.\r\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\r\n if (a == 0) {\r\n return 0;\r\n }\r\n\r\n uint256 c = a * b;\r\n require(c / a == b, 'SafeMath: multiplication overflow');\r\n\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers. Reverts on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\r\n return div(a, b, 'SafeMath: division by zero');\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers. Reverts with custom message on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(\r\n uint256 a,\r\n uint256 b,\r\n string memory errorMessage\r\n ) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n uint256 c = a / b;\r\n // assert(a == b * c + a % b); // There is no case in which this doesn't hold\r\n\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * Reverts when dividing by zero.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\r\n return mod(a, b, 'SafeMath: modulo by zero');\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * Reverts with custom message when dividing by zero.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(\r\n uint256 a,\r\n uint256 b,\r\n string memory errorMessage\r\n ) internal pure returns (uint256) {\r\n require(b != 0, errorMessage);\r\n return a % b;\r\n }\r\n\r\n function min(uint256 x, uint256 y) internal pure returns (uint256 z) {\r\n z = x < y ? x : y;\r\n }\r\n\r\n // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)\r\n function sqrt(uint256 y) internal pure returns (uint256 z) {\r\n if (y > 3) {\r\n z = y;\r\n uint256 x = y / 2 + 1;\r\n while (x < z) {\r\n z = x;\r\n x = (y / x + x) / 2;\r\n }\r\n } else if (y != 0) {\r\n z = 1;\r\n }\r\n }\r\n}\r\n\r\n// \r\n/**\r\n * @dev Collection of functions related to the address type\r\n */\r\nlibrary Address {\r\n /**\r\n * @dev Returns true if `account` is a contract.\r\n *\r\n * [IMPORTANT]\r\n * ====\r\n * It is unsafe to assume that an address for which this function returns\r\n * false is an externally-owned account (EOA) and not a contract.\r\n *\r\n * Among others, `isContract` will return false for the following\r\n * types of addresses:\r\n *\r\n * - an externally-owned account\r\n * - a contract in construction\r\n * - an address where a contract will be created\r\n * - an address where a contract lived, but was destroyed\r\n * ====\r\n */\r\n function isContract(address account) internal view returns (bool) {\r\n // According to EIP-1052, 0x0 is the value returned for not-yet created accounts\r\n // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned\r\n // for accounts without code, i.e. `keccak256('')`\r\n bytes32 codehash;\r\n bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly {\r\n codehash := extcodehash(account)\r\n }\r\n return (codehash != accountHash && codehash != 0x0);\r\n }\r\n\r\n /**\r\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\r\n * `recipient`, forwarding all available gas and reverting on errors.\r\n *\r\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\r\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\r\n * imposed by `transfer`, making them unable to receive funds via\r\n * `transfer`. {sendValue} removes this limitation.\r\n *\r\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\r\n *\r\n * IMPORTANT: because control is transferred to `recipient`, care must be\r\n * taken to not create reentrancy vulnerabilities. Consider using\r\n * {ReentrancyGuard} or the\r\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\r\n */\r\n function sendValue(address payable recipient, uint256 amount) internal {\r\n require(address(this).balance >= amount, 'Address: insufficient balance');\r\n\r\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\r\n (bool success, ) = recipient.call{value: amount}('');\r\n require(success, 'Address: unable to send value, recipient may have reverted');\r\n }\r\n\r\n /**\r\n * @dev Performs a Solidity function call using a low level `call`. A\r\n * plain`call` is an unsafe replacement for a function call: use this\r\n * function instead.\r\n *\r\n * If `target` reverts with a revert reason, it is bubbled up by this\r\n * function (like regular Solidity function calls).\r\n *\r\n * Returns the raw returned data. To convert to the expected return value,\r\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\r\n *\r\n * Requirements:\r\n *\r\n * - `target` must be a contract.\r\n * - calling `target` with `data` must not revert.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionCall(target, data, 'Address: low-level call failed');\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\r\n * `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(\r\n address target,\r\n bytes memory data,\r\n string memory errorMessage\r\n ) internal returns (bytes memory) {\r\n return _functionCallWithValue(target, data, 0, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but also transferring `value` wei to `target`.\r\n *\r\n * Requirements:\r\n *\r\n * - the calling contract must have an ETH balance of at least `value`.\r\n * - the called Solidity function must be `payable`.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(\r\n address target,\r\n bytes memory data,\r\n uint256 value\r\n ) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, value, 'Address: low-level call with value failed');\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\r\n * with `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(\r\n address target,\r\n bytes memory data,\r\n uint256 value,\r\n string memory errorMessage\r\n ) internal returns (bytes memory) {\r\n require(address(this).balance >= value, 'Address: insufficient balance for call');\r\n return _functionCallWithValue(target, data, value, errorMessage);\r\n }\r\n\r\n function _functionCallWithValue(\r\n address target,\r\n bytes memory data,\r\n uint256 weiValue,\r\n string memory errorMessage\r\n ) private returns (bytes memory) {\r\n require(isContract(target), 'Address: call to non-contract');\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.call{value: weiValue}(data);\r\n if (success) {\r\n return returndata;\r\n } else {\r\n // Look for revert reason and bubble it up if present\r\n if (returndata.length > 0) {\r\n // The easiest way to bubble the revert reason is using memory via assembly\r\n\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly {\r\n let returndata_size := mload(returndata)\r\n revert(add(32, returndata), returndata_size)\r\n }\r\n } else {\r\n revert(errorMessage);\r\n }\r\n }\r\n }\r\n}\r\n\r\n// \r\n/**\r\n * @dev Implementation of the {IBEP20} interface.\r\n *\r\n * This implementation is agnostic to the way tokens are created. This means\r\n * that a supply mechanism has to be added in a derived contract using {_mint}.\r\n * For a generic mechanism see {BEP20PresetMinterPauser}.\r\n *\r\n * TIP: For a detailed writeup see our guide\r\n * https://forum.zeppelin.solutions/t/how-to-implement-BEP20-supply-mechanisms/226[How\r\n * to implement supply mechanisms].\r\n *\r\n * We have followed general OpenZeppelin guidelines: functions revert instead\r\n * of returning `false` on failure. This behavior is nonetheless conventional\r\n * and does not conflict with the expectations of BEP20 applications.\r\n *\r\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\r\n * This allows applications to reconstruct the allowance for all accounts just\r\n * by listening to said events. Other implementations of the EIP may not emit\r\n * these events, as it isn't required by the specification.\r\n *\r\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\r\n * functions have been added to mitigate the well-known issues around setting\r\n * allowances. See {IBEP20-approve}.\r\n */\r\ncontract BEP20 is Context, IBEP20, Ownable {\r\n using SafeMath for uint256;\r\n using Address for address;\r\n\r\n mapping(address => uint256) private _balances;\r\n\r\n mapping(address => mapping(address => uint256)) private _allowances;\r\n\r\n uint256 private _totalSupply;\r\n\r\n string private _name;\r\n string private _symbol;\r\n uint8 private _decimals;\r\n\r\n /**\r\n * @dev Sets the values for {name} and {symbol}, initializes {decimals} with\r\n * a default value of 18.\r\n *\r\n * To select a different value for {decimals}, use {_setupDecimals}.\r\n *\r\n * All three of these values are immutable: they can only be set once during\r\n * construction.\r\n */\r\n constructor(string memory name, string memory symbol) public {\r\n _name = name;\r\n _symbol = symbol;\r\n _decimals = 18;\r\n }\r\n\r\n /**\r\n * @dev Returns the bep token owner.\r\n */\r\n function getOwner() external override view returns (address) {\r\n return owner();\r\n }\r\n\r\n /**\r\n * @dev Returns the token name.\r\n */\r\n function name() public override view returns (string memory) {\r\n return _name;\r\n }\r\n\r\n /**\r\n * @dev Returns the token decimals.\r\n */\r\n function decimals() public override view returns (uint8) {\r\n return _decimals;\r\n }\r\n\r\n /**\r\n * @dev Returns the token symbol.\r\n */\r\n function symbol() public override view returns (string memory) {\r\n return _symbol;\r\n }\r\n\r\n /**\r\n * @dev See {BEP20-totalSupply}.\r\n */\r\n function totalSupply() public override view returns (uint256) {\r\n return _totalSupply;\r\n }\r\n\r\n /**\r\n * @dev See {BEP20-balanceOf}.\r\n */\r\n function balanceOf(address account) public override view returns (uint256) {\r\n return _balances[account];\r\n }\r\n\r\n /**\r\n * @dev See {BEP20-transfer}.\r\n *\r\n * Requirements:\r\n *\r\n * - `recipient` cannot be the zero address.\r\n * - the caller must have a balance of at least `amount`.\r\n */\r\n function transfer(address recipient, uint256 amount) public override returns (bool) {\r\n _transfer(_msgSender(), recipient, amount);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev See {BEP20-allowance}.\r\n */\r\n function allowance(address owner, address spender) public override view returns (uint256) {\r\n return _allowances[owner][spender];\r\n }\r\n\r\n /**\r\n * @dev See {BEP20-approve}.\r\n *\r\n * Requirements:\r\n *\r\n * - `spender` cannot be the zero address.\r\n */\r\n function approve(address spender, uint256 amount) public override returns (bool) {\r\n _approve(_msgSender(), spender, amount);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev See {BEP20-transferFrom}.\r\n *\r\n * Emits an {Approval} event indicating the updated allowance. This is not\r\n * required by the EIP. See the note at the beginning of {BEP20};\r\n *\r\n * Requirements:\r\n * - `sender` and `recipient` cannot be the zero address.\r\n * - `sender` must have a balance of at least `amount`.\r\n * - the caller must have allowance for `sender`'s tokens of at least\r\n * `amount`.\r\n */\r\n function transferFrom(\r\n address sender,\r\n address recipient,\r\n uint256 amount\r\n ) public override returns (bool) {\r\n _transfer(sender, recipient, amount);\r\n _approve(\r\n sender,\r\n _msgSender(),\r\n _allowances[sender][_msgSender()].sub(amount, 'BEP20: transfer amount exceeds allowance')\r\n );\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Atomically increases the allowance granted to `spender` by the caller.\r\n *\r\n * This is an alternative to {approve} that can be used as a mitigation for\r\n * problems described in {BEP20-approve}.\r\n *\r\n * Emits an {Approval} event indicating the updated allowance.\r\n *\r\n * Requirements:\r\n *\r\n * - `spender` cannot be the zero address.\r\n */\r\n function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {\r\n _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Atomically decreases the allowance granted to `spender` by the caller.\r\n *\r\n * This is an alternative to {approve} that can be used as a mitigation for\r\n * problems described in {BEP20-approve}.\r\n *\r\n * Emits an {Approval} event indicating the updated allowance.\r\n *\r\n * Requirements:\r\n *\r\n * - `spender` cannot be the zero address.\r\n * - `spender` must have allowance for the caller of at least\r\n * `subtractedValue`.\r\n */\r\n function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {\r\n _approve(\r\n _msgSender(),\r\n spender,\r\n _allowances[_msgSender()][spender].sub(subtractedValue, 'BEP20: decreased allowance below zero')\r\n );\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Creates `amount` tokens and assigns them to `msg.sender`, increasing\r\n * the total supply.\r\n *\r\n * Requirements\r\n *\r\n * - `msg.sender` must be the token owner\r\n */\r\n function mint(uint256 amount) public onlyOwner returns (bool) {\r\n _mint(_msgSender(), amount);\r\n return true;\r\n }\r\n\r\n /**\r\n * @dev Moves tokens `amount` from `sender` to `recipient`.\r\n *\r\n * This is internal function is equivalent to {transfer}, and can be used to\r\n * e.g. implement automatic token fees, slashing mechanisms, etc.\r\n *\r\n * Emits a {Transfer} event.\r\n *\r\n * Requirements:\r\n *\r\n * - `sender` cannot be the zero address.\r\n * - `recipient` cannot be the zero address.\r\n * - `sender` must have a balance of at least `amount`.\r\n */\r\n function _transfer(\r\n address sender,\r\n address recipient,\r\n uint256 amount\r\n ) internal {\r\n require(sender != address(0), 'BEP20: transfer from the zero address');\r\n require(recipient != address(0), 'BEP20: transfer to the zero address');\r\n\r\n _balances[sender] = _balances[sender].sub(amount, 'BEP20: transfer amount exceeds balance');\r\n _balances[recipient] = _balances[recipient].add(amount);\r\n emit Transfer(sender, recipient, amount);\r\n }\r\n\r\n /** @dev Creates `amount` tokens and assigns them to `account`, increasing\r\n * the total supply.\r\n *\r\n * Emits a {Transfer} event with `from` set to the zero address.\r\n *\r\n * Requirements\r\n *\r\n * - `to` cannot be the zero address.\r\n */\r\n function _mint(address account, uint256 amount) internal {\r\n require(account != address(0), 'BEP20: mint to the zero address');\r\n\r\n _totalSupply = _totalSupply.add(amount);\r\n _balances[account] = _balances[account].add(amount);\r\n emit Transfer(address(0), account, amount);\r\n }\r\n\r\n /**\r\n * @dev Destroys `amount` tokens from `account`, reducing the\r\n * total supply.\r\n *\r\n * Emits a {Transfer} event with `to` set to the zero address.\r\n *\r\n * Requirements\r\n *\r\n * - `account` cannot be the zero address.\r\n * - `account` must have at least `amount` tokens.\r\n */\r\n function _burn(address account, uint256 amount) internal {\r\n require(account != address(0), 'BEP20: burn from the zero address');\r\n\r\n _balances[account] = _balances[account].sub(amount, 'BEP20: burn amount exceeds balance');\r\n _totalSupply = _totalSupply.sub(amount);\r\n emit Transfer(account, address(0), amount);\r\n }\r\n\r\n /**\r\n * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.\r\n *\r\n * This is internal function is equivalent to `approve`, and can be used to\r\n * e.g. set automatic allowances for certain subsystems, etc.\r\n *\r\n * Emits an {Approval} event.\r\n *\r\n * Requirements:\r\n *\r\n * - `owner` cannot be the zero address.\r\n * - `spender` cannot be the zero address.\r\n */\r\n function _approve(\r\n address owner,\r\n address spender,\r\n uint256 amount\r\n ) internal {\r\n require(owner != address(0), 'BEP20: approve from the zero address');\r\n require(spender != address(0), 'BEP20: approve to the zero address');\r\n\r\n _allowances[owner][spender] = amount;\r\n emit Approval(owner, spender, amount);\r\n }\r\n\r\n /**\r\n * @dev Destroys `amount` tokens from `account`.`amount` is then deducted\r\n * from the caller's allowance.\r\n *\r\n * See {_burn} and {_approve}.\r\n */\r\n function _burnFrom(address account, uint256 amount) internal {\r\n _burn(account, amount);\r\n _approve(\r\n account,\r\n _msgSender(),\r\n _allowances[account][_msgSender()].sub(amount, 'BEP20: burn amount exceeds allowance')\r\n );\r\n }\r\n}\r\n\r\n// CakeToken with Governance.\r\ncontract CakeToken is BEP20('PancakeSwap Token', 'Cake') {\r\n /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (MasterChef).\r\n function mint(address _to, uint256 _amount) public onlyOwner {\r\n _mint(_to, _amount);\r\n _moveDelegates(address(0), _delegates[_to], _amount);\r\n }\r\n\r\n // Copied and modified from YAM code:\r\n // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol\r\n // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol\r\n // Which is copied and modified from COMPOUND:\r\n // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol\r\n\r\n /// @notice A record of each accounts delegate\r\n mapping (address => address) internal _delegates;\r\n\r\n /// @notice A checkpoint for marking number of votes from a given block\r\n struct Checkpoint {\r\n uint32 fromBlock;\r\n uint256 votes;\r\n }\r\n\r\n /// @notice A record of votes checkpoints for each account, by index\r\n mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;\r\n\r\n /// @notice The number of checkpoints for each account\r\n mapping (address => uint32) public numCheckpoints;\r\n\r\n /// @notice The EIP-712 typehash for the contract's domain\r\n bytes32 public constant DOMAIN_TYPEHASH = keccak256(\"EIP712Domain(string name,uint256 chainId,address verifyingContract)\");\r\n\r\n /// @notice The EIP-712 typehash for the delegation struct used by the contract\r\n bytes32 public constant DELEGATION_TYPEHASH = keccak256(\"Delegation(address delegatee,uint256 nonce,uint256 expiry)\");\r\n\r\n /// @notice A record of states for signing / validating signatures\r\n mapping (address => uint) public nonces;\r\n\r\n /// @notice An event thats emitted when an account changes its delegate\r\n event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);\r\n\r\n /// @notice An event thats emitted when a delegate account's vote balance changes\r\n event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);\r\n\r\n /**\r\n * @notice Delegate votes from `msg.sender` to `delegatee`\r\n * @param delegator The address to get delegatee for\r\n */\r\n function delegates(address delegator)\r\n external\r\n view\r\n returns (address)\r\n {\r\n return _delegates[delegator];\r\n }\r\n\r\n /**\r\n * @notice Delegate votes from `msg.sender` to `delegatee`\r\n * @param delegatee The address to delegate votes to\r\n */\r\n function delegate(address delegatee) external {\r\n return _delegate(msg.sender, delegatee);\r\n }\r\n\r\n /**\r\n * @notice Delegates votes from signatory to `delegatee`\r\n * @param delegatee The address to delegate votes to\r\n * @param nonce The contract state required to match the signature\r\n * @param expiry The time at which to expire the signature\r\n * @param v The recovery byte of the signature\r\n * @param r Half of the ECDSA signature pair\r\n * @param s Half of the ECDSA signature pair\r\n */\r\n function delegateBySig(\r\n address delegatee,\r\n uint nonce,\r\n uint expiry,\r\n uint8 v,\r\n bytes32 r,\r\n bytes32 s\r\n )\r\n external\r\n {\r\n bytes32 domainSeparator = keccak256(\r\n abi.encode(\r\n DOMAIN_TYPEHASH,\r\n keccak256(bytes(name())),\r\n getChainId(),\r\n address(this)\r\n )\r\n );\r\n\r\n bytes32 structHash = keccak256(\r\n abi.encode(\r\n DELEGATION_TYPEHASH,\r\n delegatee,\r\n nonce,\r\n expiry\r\n )\r\n );\r\n\r\n bytes32 digest = keccak256(\r\n abi.encodePacked(\r\n \"\\x19\\x01\",\r\n domainSeparator,\r\n structHash\r\n )\r\n );\r\n\r\n address signatory = ecrecover(digest, v, r, s);\r\n require(signatory != address(0), \"CAKE::delegateBySig: invalid signature\");\r\n require(nonce == nonces[signatory]++, \"CAKE::delegateBySig: invalid nonce\");\r\n require(now <= expiry, \"CAKE::delegateBySig: signature expired\");\r\n return _delegate(signatory, delegatee);\r\n }\r\n\r\n /**\r\n * @notice Gets the current votes balance for `account`\r\n * @param account The address to get votes balance\r\n * @return The number of current votes for `account`\r\n */\r\n function getCurrentVotes(address account)\r\n external\r\n view\r\n returns (uint256)\r\n {\r\n uint32 nCheckpoints = numCheckpoints[account];\r\n return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;\r\n }\r\n\r\n /**\r\n * @notice Determine the prior number of votes for an account as of a block number\r\n * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.\r\n * @param account The address of the account to check\r\n * @param blockNumber The block number to get the vote balance at\r\n * @return The number of votes the account had as of the given block\r\n */\r\n function getPriorVotes(address account, uint blockNumber)\r\n external\r\n view\r\n returns (uint256)\r\n {\r\n require(blockNumber < block.number, \"CAKE::getPriorVotes: not yet determined\");\r\n\r\n uint32 nCheckpoints = numCheckpoints[account];\r\n if (nCheckpoints == 0) {\r\n return 0;\r\n }\r\n\r\n // First check most recent balance\r\n if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {\r\n return checkpoints[account][nCheckpoints - 1].votes;\r\n }\r\n\r\n // Next check implicit zero balance\r\n if (checkpoints[account][0].fromBlock > blockNumber) {\r\n return 0;\r\n }\r\n\r\n uint32 lower = 0;\r\n uint32 upper = nCheckpoints - 1;\r\n while (upper > lower) {\r\n uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow\r\n Checkpoint memory cp = checkpoints[account][center];\r\n if (cp.fromBlock == blockNumber) {\r\n return cp.votes;\r\n } else if (cp.fromBlock < blockNumber) {\r\n lower = center;\r\n } else {\r\n upper = center - 1;\r\n }\r\n }\r\n return checkpoints[account][lower].votes;\r\n }\r\n\r\n function _delegate(address delegator, address delegatee)\r\n internal\r\n {\r\n address currentDelegate = _delegates[delegator];\r\n uint256 delegatorBalance = balanceOf(delegator); // balance of underlying CAKEs (not scaled);\r\n _delegates[delegator] = delegatee;\r\n\r\n emit DelegateChanged(delegator, currentDelegate, delegatee);\r\n\r\n _moveDelegates(currentDelegate, delegatee, delegatorBalance);\r\n }\r\n\r\n function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal {\r\n if (srcRep != dstRep && amount > 0) {\r\n if (srcRep != address(0)) {\r\n // decrease old representative\r\n uint32 srcRepNum = numCheckpoints[srcRep];\r\n uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;\r\n uint256 srcRepNew = srcRepOld.sub(amount);\r\n _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);\r\n }\r\n\r\n if (dstRep != address(0)) {\r\n // increase new representative\r\n uint32 dstRepNum = numCheckpoints[dstRep];\r\n uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;\r\n uint256 dstRepNew = dstRepOld.add(amount);\r\n _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);\r\n }\r\n }\r\n }\r\n\r\n function _writeCheckpoint(\r\n address delegatee,\r\n uint32 nCheckpoints,\r\n uint256 oldVotes,\r\n uint256 newVotes\r\n )\r\n internal\r\n {\r\n uint32 blockNumber = safe32(block.number, \"CAKE::_writeCheckpoint: block number exceeds 32 bits\");\r\n\r\n if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {\r\n checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;\r\n } else {\r\n checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);\r\n numCheckpoints[delegatee] = nCheckpoints + 1;\r\n }\r\n\r\n emit DelegateVotesChanged(delegatee, oldVotes, newVotes);\r\n }\r\n\r\n function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {\r\n require(n < 2**32, errorMessage);\r\n return uint32(n);\r\n }\r\n\r\n function getChainId() internal pure returns (uint) {\r\n uint256 chainId;\r\n assembly { chainId := chainid() }\r\n return chainId;\r\n }\r\n}", + "ABI":"[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fromDelegate\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"toDelegate\",\"type\":\"address\"}],\"name\":\"DelegateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousBalance\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newBalance\",\"type\":\"uint256\"}],\"name\":\"DelegateVotesChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DELEGATION_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DOMAIN_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"name\":\"checkpoints\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"fromBlock\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"votes\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"delegate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"delegateBySig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"}],\"name\":\"delegates\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getCurrentVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPriorVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"numCheckpoints\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", + "ContractName":"CakeToken", + "CompilerVersion":"v0.6.12+commit.27d51765", + "OptimizationUsed":"1", + "Runs":"5000", + "ConstructorArguments":"", + "EVMVersion":"Default", + "Library":"", + "LicenseType":"None", + "Proxy":"0", + "Implementation":"", + "SwarmSource":"ipfs://9755240809e31aec9fa5790314682233ca431b7c4f252d7e4bba347e2e742086" + } + ] +} diff --git a/yaml b/yaml new file mode 100644 index 0000000000..1553b248d1 --- /dev/null +++ b/yaml @@ -0,0 +1,1084 @@ +- name: Reference Implementation Features + maintainer: Dev Container Spec Maintainers + contact: https://github.com/devcontainers/features/issues + repository: https://github.com/devcontainers/features + ociReference: ghcr.io/devcontainers/features +- name: Reference Implementation Templates + maintainer: Dev Container Spec Maintainers + contact: https://github.com/devcontainers/templates/issues + repository: https://github.com/devcontainers/templates + ociReference: ghcr.io/devcontainers/templates +- name: Azure SQL Database Dev Container Templates + maintainer: Azure SQL Developer Experiences Team + contact: https://github.com/microsoft/azuresql-devcontainers/issues + repository: https://github.com/microsoft/azuresql-devcontainers + ociReference: ghcr.io/microsoft/azuresql-devcontainers +- name: Iterative Tools for Machine Learning Features + maintainer: Iterative, Inc + contact: https://github.com/iterative/features/issues + repository: https://github.com/iterative/features + ociReference: ghcr.io/iterative/features +- name: Features for R + maintainer: Rocker Project + contact: https://github.com/rocker-org/devcontainer-features/issues + repository: https://github.com/rocker-org/devcontainer-features + ociReference: ghcr.io/rocker-org/devcontainer-features +- name: Templates for R + maintainer: Rocker Project + contact: https://github.com/rocker-org/devcontainer-templates/issues + repository: https://github.com/rocker-org/devcontainer-templates + ociReference: ghcr.io/rocker-org/devcontainer-templates +- name: Public Meaningful Features + maintainer: Meaningful + contact: https://github.com/meaningful-ooo/devcontainer-features/issues + repository: https://github.com/meaningful-ooo/devcontainer-features + ociReference: ghcr.io/meaningful-ooo/devcontainer-features +- name: Assorted Features + maintainer: Mike Priscella + contact: https://github.com/mpriscella/features/issues + repository: https://github.com/mpriscella/features + ociReference: ghcr.io/mpriscella/features +- name: Assorted Features + maintainer: eitsupi + contact: https://github.com/eitsupi/devcontainer-features/issues + repository: https://github.com/eitsupi/devcontainer-features + ociReference: ghcr.io/eitsupi/devcontainer-features +- name: Assorted Features + maintainer: Eric Ho + contact: https://github.com/dhoeric/features/issues + repository: https://github.com/dhoeric/features + ociReference: ghcr.io/dhoeric/features +- name: Assorted Features + maintainer: Ravikanth Chaganti + contact: https://github.com/rchaganti/vsc-devcontainer-features/issues + repository: https://github.com/rchaganti/vsc-devcontainer-features + ociReference: ghcr.io/rchaganti/vsc-devcontainer-features +- name: Amazon Linux 2 Features + maintainer: Ken Collins + contact: https://github.com/metaskills + repository: https://github.com/customink/codespaces-features + ociReference: ghcr.io/customink/codespaces-features +- name: Assorted Features + maintainer: Stuart Leeks + contact: https://github.com/stuartleeks/dev-container-features/issues + repository: https://github.com/stuartleeks/dev-container-features + ociReference: ghcr.io/stuartleeks/dev-container-features +- name: Assorted Features + maintainer: guiyomh + contact: https://github.com/guiyomh/features/issues + repository: https://github.com/guiyomh/features + ociReference: ghcr.io/guiyomh/features +- name: Development Container Custom Features + maintainer: Nate Scherer + contact: https://github.com/natescherer/devcontainers-custom-features/issues + repository: https://github.com/natescherer/devcontainers-custom-features + ociReference: ghcr.io/natescherer/devcontainers-custom-features +- name: Features by @joshspicer + maintainer: Josh Spicer + contact: https://github.com/joshspicer/features/issues + repository: https://github.com/joshspicer/features + ociReference: ghcr.io/joshspicer/features +- name: PHP Features + maintainer: Shyim + contact: https://github.com/shyim/devcontainers-features/issues + repository: https://github.com/shyim/devcontainers-features + ociReference: ghcr.io/shyim/devcontainers-features +- name: Fun Features + maintainer: jungaretti + contact: https://github.com/jungaretti/features/issues + repository: https://github.com/jungaretti/features + ociReference: ghcr.io/jungaretti/features +- name: libmsquic feature for HTTP/3 support + maintainer: tlc-sundown + contact: https://github.com/tlc-sundown/devcontainers-features/issues + repository: https://github.com/tlc-sundown/devcontainers-features + ociReference: ghcr.io/tlc-sundown/devcontainers-features +- name: Assorted Features + maintainer: Enrico Secondulfo + contact: https://github.com/enricosecondulfo/devcontainer-features/issues + repository: https://github.com/enricosecondulfo/devcontainer-features + ociReference: ghcr.io/enricosecondulfo/devcontainer-features +- name: SAML.to Development Container Features + maintainer: saml-to + contact: https://github.com/saml-to/devcontainer-features/issues + repository: https://github.com/saml-to/devcontainer-features + ociReference: ghcr.io/saml-to/devcontainer-features +- name: Cloud Native development environment tools + maintainer: rjfmachado + contact: https://github.com/rjfmachado/devcontainer-features/issues + repository: https://github.com/rjfmachado/devcontainer-features + ociReference: ghcr.io/rjfmachado/devcontainer-features +- name: Wiwa's features + maintainer: lukewiwa + contact: https://github.com/lukewiwa/features/issues + repository: https://github.com/lukewiwa/features + ociReference: ghcr.io/lukewiwa/features +- name: Container and Kubernetes Development Features + maintainer: rio + contact: https://github.com/rio/features/issues + repository: https://github.com/rio/features + ociReference: ghcr.io/rio/features +- name: Kusion Features + maintainer: KusionStack + contact: https://github.com/KusionStack/devcontainer-features/issues + repository: https://github.com/KusionStack/devcontainer-features + ociReference: ghcr.io/KusionStack/devcontainer-features +- name: Édouard-lopez' Features + maintainer: edouard-lopez + contact: https://github.com/edouard-lopez/devcontainer-features/issues + repository: https://github.com/edouard-lopez/devcontainer-features + ociReference: ghcr.io/edouard-lopez/devcontainer-features +- name: jlaundry Features + maintainer: jlaundry + contact: https://github.com/jlaundry/devcontainer-features/issues + repository: https://github.com/jlaundry/devcontainer-features + ociReference: ghcr.io/jlaundry/devcontainer-features +- name: Assorted Features + maintainer: mikaello + contact: https://github.com/mikaello/devcontainer-features/issues + repository: https://github.com/mikaello/devcontainer-features + ociReference: ghcr.io/mikaello/devcontainer-features +- name: Devcontainer Features + maintainer: jsburckhardt + contact: https://github.com/jsburckhardt/devcontainer-features/issues + repository: https://github.com/jsburckhardt/devcontainer-features + ociReference: ghcr.io/jsburckhardt/devcontainer-features +- name: Oleksis' Dev Container Features + maintainer: oleksis + contact: https://github.com/oleksis/devcontainer-features/issues + repository: https://github.com/oleksis/devcontainer-features + ociReference: ghcr.io/oleksis/devcontainer-features +- name: Psibase templates + maintainer: James-Mart + contact: https://github.com/gofractally/psibase-devcontainer-template/issues + repository: https://github.com/gofractally/psibase-devcontainer-template/issues + ociReference: ghcr.io/gofractally/psibase-devcontainer-template +- name: Baskoro OSI devcontainer features + maintainer: Eki Baskoro + contact: https://github.com/ebaskoro/devcontainer-features/issues + repository: https://github.com/ebaskoro/devcontainer-features + ociReference: ghcr.io/ebaskoro/devcontainer-features +- name: A collection of useful GitHub CodeSpace features + maintainer: Warren Buckley + contact: https://github.com/warrenbuckley/codespace-features/issues + repository: https://github.com/warrenbuckley/codespace-features + ociReference: ghcr.io/warrenbuckley/codespace-features +- name: Roost Cluster + maintainer: Roost.ai (Harish Agrawal) + contact: https://github.com/roost-io/features/issues + repository: https://github.com/roost-io/features + ociReference: ghcr.io/roost-io/features +- name: lentzi90 devcontainer features + maintainer: Lennart Jern + contact: https://github.com/lentzi90/features/issues + repository: https://github.com/lentzi90/features + ociReference: ghcr.io/lentzi90/features +- name: Nextflow devcontainer features + maintainer: Rob Syme + contact: https://github.com/robsyme/features/issues + repository: https://github.com/robsyme/features + ociReference: ghcr.io/robsyme/features +- name: Wasmtime + WASI Web Assembly features + contact: https://github.com/dev-wasm/dev-wasm-feature/issues + repository: https://github.com/dev-wasm/dev-wasm-feature + maintainer: Brendan Burns + ociReference: devwasm.azurecr.io/dev-wasm/dev-wasm-feature +- name: shinepukur devcontainer features + maintainer: Shine Pukur + contact: https://github.com/shinepukur/devcontainer-features/issues + repository: https://github.com/shinepukur/devcontainer-features + ociReference: ghcr.io/shinepukur/devcontainer-features +- name: msclock devcontainer features + maintainer: msclock + contact: https://github.com/msclock/features/issues + repository: https://github.com/msclock/features + ociReference: ghcr.io/msclock/features +- name: Fig Dev Container Features + maintainer: grant0417 + contact: https://github.com/withfig/features/issues + repository: https://github.com/withfig/features + ociReference: ghcr.io/withfig/features +- name: Mamba Features + maintainer: mamba-org + contact: https://github.com/mamba-org/devcontainer-features/issues + repository: https://github.com/mamba-org/devcontainer-features + ociReference: ghcr.io/mamba-org/devcontainer-features +- name: Astronomer Features + maintainer: fhoda + contact: https://github.com/astronomer/devcontainer-features/issues + repository: https://github.com/astronomer/devcontainer-features + ociReference: ghcr.io/astronomer/devcontainer-features +- name: Devcontainer features by @EliiseS + maintainer: EliiseS + contact: https://github.com/EliiseS/devcontainer-features/issues + repository: https://github.com/EliiseS/devcontainer-features + ociReference: ghcr.io/eliises/devcontainer-features +- name: Testing Automation Features & more + maintainer: Matthieu Fronton + contact: https://github.com/frntn/devcontainers-features/issues + repository: https://github.com/frntn/devcontainers-features + ociReference: ghcr.io/frntn/devcontainers-features +- name: csutter's devcontainer templates + maintainer: csutter + contact: https://github.com/csutter/devcontainer-templates/issues + repository: https://github.com/csutter/devcontainer-templates + ociReference: ghcr.io/csutter/devcontainer-templates +- name: Convenient features + maintainer: ChristopherMacGown + contact: https://github.com/ChristopherMacGown/devcontainer-features/issues + repository: https://github.com/ChristopherMacGown/devcontainer-features + ociReference: ghcr.io/christophermacgown/devcontainer-features +- name: Devcontainer features by @Balazs + maintainer: Balazs23 + contact: https://github.com/Balazs23/devcontainers-features/issues + repository: https://github.com/Balazs23/devcontainers-features + ociReference: ghcr.io/balazs23/devcontainers-features +- name: Pwd9000-ML devcontainer templates + maintainer: Marcel Lupo @Pwd9000-ML + contact: https://github.com/Pwd9000-ML/devcontainer-templates/issues + repository: https://github.com/Pwd9000-ML/devcontainer-templates + ociReference: ghcr.io/pwd9000-ml/devcontainer-templates +- name: mickeahlinder devcontainer features + maintainer: Mikael Ahlinder + contact: https://github.com/mickeahlinder/devcontainer-features/issues + repository: https://github.com/mickeahlinder/devcontainer-features + ociReference: ghcr.io/mickeahlinder/devcontainer-features +- name: jckimble Dev Container / Codespaces Features + maintainer: James C Kimble Jr + contact: https://github.com/jckimble/devcontainer-features/issues + repository: https://github.com/jckimble/devcontainer-features + ociReference: ghcr.io/jckimble/devcontainer-features +- name: IU LaTeX Container Templates + maintainer: Torben Wetter + contact: https://github.com/TorbenWetter/iu-latex-container-templates/issues + repository: https://github.com/TorbenWetter/iu-latex-container-templates + ociReference: ghcr.io/torbenwetter/iu-latex-container-templates +- name: Python3 with Pyenv and Poetry + maintainer: Israel Rescalvo + contact: https://github.com/Standard-IO/devcontainers-templates/issues + repository: https://github.com/Standard-IO/devcontainers-templates + ociReference: ghcr.io/standard-io/devcontainers-templates +- name: ROS Templates + maintainer: Kenji Brameld + contact: https://github.com/ijnek/ros-devcontainer-template/issues + repository: https://github.com/ijnek/ros-devcontainer-template + ociReference: ghcr.io/ijnek/ros-devcontainer-template +- name: ROS 2 Workspace Templates + maintainer: Bruno-Pier Busque + contact: https://github.com/BrunoB81HK/ros2-workspace-devcontainer-template/issues + repository: https://github.com/BrunoB81HK/ros2-workspace-devcontainer-template + ociReference: ghcr.io/brunob81hk/ros2-workspace-devcontainer-template +- name: Assorted Features + maintainer: r3dpoint + contact: https://github.com/r3dpoint/devcontainer-features/issues + repository: https://github.com/r3dpoint/devcontainer-features + ociReference: ghcr.io/r3dpoint/devcontainer-features +- name: Swift Container Templates + maintainer: Swift Server Workgroup + contact: https://github.com/swift-server/swift-devcontainer-template/issues + repository: https://github.com/swift-server/swift-devcontainer-template + ociReference: ghcr.io/swift-server/swift-devcontainer-template +- name: UNSW cs3231 OS Development + maintainer: Hamish Cox + contact: https://github.com/HamishWHC/cs3231-devcontainer/issues + repository: https://github.com/HamishWHC/cs3231-devcontainer + ociReference: ghcr.io/hamishwhc/cs3231-devcontainer +- name: TRunk CLI Features (trunk.io) + maintainer: trunk-io + contact: https://github.com/trunk-io/devcontainer-feature/issues + repository: https://github.com/trunk-io/devcontainer-feature + ociReference: ghcr.io/trunk-io/devcontainer-feature +- name: MultiversX Dev Container Templates + maintainer: MultiversX + contact: https://github.com/multiversx/mx-template-devcontainers/issues + repository: https://github.com/multiversx/mx-template-devcontainers + ociReference: ghcr.io/multiversx/mx-template-devcontainers +- name: Swift Dev Container Features + maintainer: Joseph Heck/Adam Fowler + contact: https://github.com/swift-server-community/swift-devcontainer-features/issues + repository: https://github.com/swift-server-community/swift-devcontainer-features + ociReference: ghcr.io/swift-server-community/swift-devcontainer-features +- name: Kvokka Dev Container Features + maintainer: kvokka + contact: https://github.com/kvokka/features/issues + repository: https://github.com/kvokka/features + ociReference: ghcr.io/kvokka/features +- name: gickis Dev Container Features + maintainer: Andrii Tararaka + contact: https://github.com/gickis/devcontainer-features/issues + repository: https://github.com/gickis/devcontainer-features + ociReference: ghcr.io/gickis/devcontainer-features +- name: sonikro Dev Container Features + maintainer: Jonathan Nagayoshi + contact: https://github.com/sonikro/devcontainer-features/issues + repository: https://github.com/sonikro/devcontainer-features + ociReference: ghcr.io/sonikro/devcontainer-features +- name: Features by JasonTheDeveloper + maintainer: JasonTheDeveloper + contact: https://github.com/JasonTheDeveloper/features/issues + repository: https://github.com/JasonTheDeveloper/features + ociReference: ghcr.io/jasonthedeveloper/features +- name: Templates by John Muchovej + maintainer: John Muchovej + contact: https://github.com/jmuchovej/devcontainers/issues + repository: https://github.com/jmuchovej/devcontainers + ociReference: ghcr.io/jmuchovej/templates +- name: Features by dasiths + maintainer: Dasith Wijes + contact: https://dasith.me + repository: https://github.com/dasiths/devcontainer-features + ociReference: ghcr.io/dasiths/devcontainer-features +- name: flexwie devcontainer features + maintainer: Felix Wieland + contact: https://github.com/flexwie/devcontainer-features/issues + repository: https://github.com/flexwie/devcontainer-features + ociReference: ghcr.io/flexwie/devcontainer-features +- name: Rust on Nails + maintainer: Ian Purton + contact: https://github.com/purton-tech/rust-on-nails/issues + repository: https://github.com/purton-tech/rust-on-nails + ociReference: ghcr.io/purton-tech/rust-on-nails +- name: ksh5022 devcontainer features + maintainer: Kevin Harrigan + contact: https://github.com/ksh5022/devcontainer-features/issues + repository: https://github.com/ksh5022/devcontainer-features + ociReference: ghcr.io/ksh5022/devcontainer-features +- name: Dapr devcontainer features + maintainer: Dapr maintainers + contact: https://github.com/dapr/cli/issues + repository: https://github.com/dapr/cli + ociReference: ghcr.io/dapr/cli +- name: Azutake Dev Container features + maintainer: Azutake + contact: https://github.com/azutake/devcontainer-features/issues + repository: https://github.com/azutake/devcontainer-features + ociReference: ghcr.io/azutake/devcontainer-features +- name: Features by michidk + maintainer: Michael Lohr + contact: https://github.com/michidk/ + repository: https://github.com/michidk/devcontainers-features + ociReference: ghcr.io/michidk/devcontainers-features +- name: Integrated Circuit Design Environment Templates + maintainer: Curtis Mayberry + contact: https://github.com/curtisma/ + repository: https://github.com/cascode-labs/viper-ic-devcontainers + ociReference: ghcr.io/cascode-labs/viper-ic-devcontainers +- name: A powerful and handy feature that runs remote shell scripts + maintainer: Xiaowei Wang + contact: https://github.com/wxw-matt/devcontainer-features/issues + repository: https://github.com/wxw-matt/devcontainer-features + ociReference: ghcr.io/wxw-matt/devcontainer-features +- name: Salesforce CLI Features + maintainer: Jason Vercellone + contact: https://github.com/vercellone/devcontainer-features/issues + repository: https://github.com/vercellone/devcontainer-features + ociReference: ghcr.io/vercellone/devcontainer-features +- name: Features by joedmck + maintainer: Joe McKinnon + contact: https://github.com/joedmck/devcontainer-features/issues + repository: https://github.com/joedmck/devcontainer-features + ociReference: ghcr.io/joedmck/devcontainer-features +- name: Features by CodeMan99 + maintainer: Cody Taylor + contact: https://github.com/CodeMan99/features/issues + repository: https://github.com/CodeMan99/features + ociReference: ghcr.io/codeman99/features +- name: Features by Favalos + maintainer: Fernando Avalos + contact: https://github.com/favalos/devcontainer-features/issues + repository: https://github.com/favalos/devcontainer-features + ociReference: ghcr.io/favalos/devcontainer-features +- name: Community Templates + maintainer: devcontainers-community + contact: https://github.com/orgs/devcontainers-community/discussions + repository: https://github.com/devcontainers-community + ociReference: ghcr.io/devcontainers-community/templates +- name: Community Features + maintainer: devcontainers-community + contact: https://github.com/orgs/devcontainers-community/discussions + repository: https://github.com/devcontainers-community + ociReference: ghcr.io/devcontainers-community/features +- name: Community npm Features + maintainer: devcontainers-community + contact: https://github.com/devcontainers-community/npm-features/issues + repository: https://github.com/devcontainers-community/npm-features + ociReference: ghcr.io/devcontainers-community/npm-features +- name: Rusty Features + maintainer: Lee-Orr + contact: https://github.com/lee-orr/rusty-dev-containers/issues + repository: https://github.com/lee-orr/rusty-dev-containers + ociReference: ghcr.io/lee-orr/rusty-dev-containers +- name: Assorted Features + maintainer: Ivan Stasiuk + contact: https://github.com/brokeyourbike/devcontainer-features/issues + repository: https://github.com/brokeyourbike/devcontainer-features + ociReference: ghcr.io/brokeyourbike/devcontainer-features +- name: Internet Computer Templates + maintainer: VVV Interactive | Internet Base + contact: https://github.com/vvv-interactive/ibdev/issues + repository: https://github.com/vvv-interactive/ibdev + ociReference: ghcr.io/vvv-interactive/ibdev +- name: Features by Nikita Kurpas + maintainer: Nikita Kurpas + contact: https://github.com/NikitaKurpas/features/issues + repository: https://github.com/NikitaKurpas/features + ociReference: ghcr.io/nikitakurpas/features +- name: Features by joshuanianji + maintainer: Joshua Ji + contact: https://github.com/joshuanianji/devcontainer-features/issues + repository: https://github.com/joshuanianji/devcontainer-features + ociReference: ghcr.io/joshuanianji/devcontainer-features +- name: Features by nullcoder + maintainer: Thanan Traiongthawon + contact: https://github.com/nullcoder/devcontainer-features/issues + repository: https://github.com/nullcoder/devcontainer-features + ociReference: ghcr.io/nullcoder/devcontainer-features +- name: Features by shepherdjerred + maintainer: Jerred Shepherd + contact: https://github.com/shepherdjerred/devcontainers-features/issues + repository: https://github.com/shepherdjerred/devcontainers-features + ociReference: ghcr.io/shepherdjerred/devcontainers-features +- name: Features by jayree + maintainer: jayree + contact: https://github.com/jayree/devcontainer-features/issues + repository: https://github.com/jayree/devcontainer-features + ociReference: ghcr.io/jayree/devcontainer-features +- name: Templates by jayree + maintainer: jayree + contact: https://github.com/jayree/devcontainer-templates/issues + repository: https://github.com/jayree/devcontainer-templates + ociReference: ghcr.io/jayree/devcontainer-templates +- name: Features by bdsoha + maintainer: bdsoha + contact: https://github.com/bdsoha/devcontainers/issues + repository: https://github.com/bdsoha/devcontainers + ociReference: ghcr.io/bdsoha/devcontainers +- name: Python3 with Pyenv and PDM + maintainer: Nafnix + contact: https://github.com/nafnix/devcontainers-templates/issues + repository: https://github.com/nafnix/devcontainers-templates + ociReference: ghcr.io/nafnix/devcontainers-templates +- name: Data science with Python and R + maintainer: VS Code Data Science + contact: https://github.com/microsoft/datascience-py-r/issues + repository: https://github.com/microsoft/datascience-py-r + ociReference: ghcr.io/microsoft/datascience-py-r +- name: Features by tomharvey + maintainer: Tom Harvey + contact: https://github.com/tomharvey/devcontainer-features/issues + repository: https://github.com/tomharvey/devcontainer-features + ociReference: ghcr.io/tomharvey/devcontainer-features +- name: Azure Developer CLI Dev Container Feature + maintainer: Azure Developer CLI Team + contact: https://github.com/Azure/azure-dev/issues + repository: https://github.com/Azure/azure-dev + ociReference: ghcr.io/azure/azure-dev +- name: Skyramp Dev Container Feature + maintainer: Skyramp, Inc. + contact: https://github.com/letsramp/devcontainer-features/issues + repository: https://github.com/letsramp/devcontainer-features + ociReference: ghcr.io/letsramp/devcontainer-features +- name: Earthly Dev Container Features + maintainer: Earthly Technologies + contact: https://github.com/earthly/devcontainer-features/issues + repository: https://github.com/earthly/devcontainer-features + ociReference: ghcr.io/earthly/devcontainer-features +- name: Runme Container Features + maintainer: Stateful, Inc. + contact: https://github.com/stateful/devcontainer-features/issues + repository: https://github.com/stateful/devcontainer-features + ociReference: ghcr.io/stateful/devcontainer-features +- name: Wpdevenv Templates + maintainer: Wpdevenv + contact: https://github.com/wpdevenv/dev_container_templates/issues + repository: https://github.com/wpdevenv/dev_container_templates + ociReference: ghcr.io/wpdevenv/dev_container_templates +- name: Native Dev Container Features + maintainer: John Chlark Sumatra + contact: https://github.com/itsmechlark/features/issues + repository: https://github.com/itsmechlark/features + ociReference: ghcr.io/itsmechlark/features +- name: Assorted Features + maintainer: Marco Zaccaro + contact: https://github.com/marcozac/devcontainer-features/issues + repository: https://github.com/marcozac/devcontainer-features + ociReference: ghcr.io/marcozac/devcontainer-features +- name: Features by Elan Hasson + maintainer: ElanHasson + contact: https://github.com/ElanHasson/devcontainer-features/issues + repository: https://github.com/ElanHasson/devcontainer-features + ociReference: ghcr.io/elanhasson/devcontainer-features +- name: Python+MSSQL+Azure SQL Templates + maintainer: Azure Developer CLI Team + contact: https://github.com/Azure-Samples/python-ms-sql-devcontainer/issues + repository: https://github.com/Azure-Samples/python-ms-sql-devcontainer + ociReference: ghcr.io/azure-samples/python-ms-sql-devcontainer +- name: Features by Tiwaloluwa Ojo + maintainer: Tiwaloluwa Ojo + contact: https://github.com/tiwaojo/features/issues + repository: https://github.com/tiwaojo/features + ociReference: ghcr.io/tiwaojo/features +- name: Julia Language Features + maintainer: Julia Language Community + contact: https://github.com/JuliaLang/devcontainer-features/issues + repository: https://github.com/JuliaLang/devcontainer-features + ociReference: ghcr.io/julialang/devcontainer-features +- name: Julia Language Templates + maintainer: Julia Language Community + contact: https://github.com/JuliaLang/devcontainer-templates/issues + repository: https://github.com/JuliaLang/devcontainer-templates + ociReference: ghcr.io/julialang/devcontainer-templates +- name: Features by John Rowley + maintainer: John Rowley + contact: https://github.com/robbert229/devcontainer-features/issues + repository: https://github.com/robbert229/devcontainer-features + ociReference: ghcr.io/robbert229/devcontainer-features +- name: AliuQ Templates + maintainer: AliuQ + contact: https://github.com/aliuq/devcontainers/issues + repository: https://github.com/aliuq/devcontainers + ociReference: ghcr.io/aliuq/devcontainers +- name: Nordcom Group Inc.'s Dev Container Features + maintainer: Filiph Siitam Sandström + contact: https://github.com/NordcomInc/devcontainer-features/issues + repository: https://github.com/NordcomInc/devcontainer-features + ociReference: ghcr.io/nordcominc/devcontainer-features +- name: Features by Maxim Slipenko + maintainer: Maxim Slipenko + contact: https://github.com/Maks1mS/devcontainers-features/issues + repository: https://github.com/Maks1mS/devcontainers-features + ociReference: ghcr.io/maks1ms/devcontainers-features +- name: Container Structure Tests + maintainer: Ty Schlichenmeyer + contact: https://github.com/schlich/cst-devcontainer-feature/issues + repository: https://github.com/schlich/cst-devcontainer-feature + ociReference: ghcr.io/schlich/cst-devcontainer-feature +- name: Rye + maintainer: Ty Schlichenmeyer + contact: https://github.com/schlich/devcontainer-features/issues + repository: https://github.com/schlich/devcontainer-features + ociReference: ghcr.io/schlich/devcontainer-features +- name: Features by raucha + maintainer: raucha + contact: https://github.com/raucha/devcontainer-features/issues + repository: https://github.com/raucha/devcontainer-features + ociReference: ghcr.io/raucha/devcontainer-features +- name: LINO PIMO SIGO Toolbox + maintainer: CGI France + contact: https://github.com/CGI-FR/lino-devcontainer/issues + repository: https://github.com/CGI-FR/lino-devcontainer/ + ociReference: ghcr.io/cgi-fr/lino-devcontainer +- name: Alpine DevContainer Features + maintainer: cirolosapio + contact: https://github.com/cirolosapio/devcontainers-features/issues + repository: https://github.com/cirolosapio/devcontainers-features + ociReference: ghcr.io/cirolosapio/devcontainers-features +- name: Features by AudaciousTux + maintainer: audacioustux + contact: https://github.com/audacioustux/devcontainers/issues + repository: https://github.com/audacioustux/devcontainers + ociReference: ghcr.io/audacioustux/devcontainers +- name: PlantUml DevContainer + maintainer: lnyousif + contact: https://github.com/lnyousif/plantuml-devcontainer/issues + repository: https://github.com/lnyousif/plantuml-devcontainer + ociReference: ghcr.io/lnyousif/plantuml-devcontainer +- name: Features by xfrancois + maintainer: xfrancois + contact: https://github.com/xfrancois/devcontainers-features/issues + repository: https://github.com/xfrancois/devcontainers-features + ociReference: ghcr.io/xfrancois/devcontainers-features +- name: Features by nucleuscloud + maintainer: nucleuscloud + contact: https://github.com/nucleuscloud/devcontainer-features/issues + repository: https://github.com/nucleuscloud/devcontainer-features + ociReference: ghcr.io/nucleuscloud/devcontainer-features +- name: Awesome Features + maintainer: joshspicer + contact: https://github.com/joshspicer/more-features/issues + repository: https://github.com/joshspicer/more-features + ociReference: ghcr.io/joshspicer/more-features +- name: Features by MarlonPassos-git + maintainer: MarlonPassos-git + contact: https://github.com/MarlonPassos-git/dev-container-features/issues + repository: https://github.com/MarlonPassos-git/dev-container-features + ociReference: ghcr.io/marlonpassos-git/dev-container-features +- name: DevContainer Features by Paul Gilber + maintainer: Paul Gilber + contact: https://github.com/paul-gilber/devcontainer-features/issues + repository: https://github.com/paul-gilber/devcontainer-features + ociReference: ghcr.io/paul-gilber/devcontainer-features +- name: Bats Features by Luigi Operoso + maintainer: brokenpip3 + contact: https://github.com/brokenpip3/devcontainers-bats/issues + repository: https://github.com/brokenpip3/devcontainers-bats + ociReference: ghcr.io/brokenpip3/devcontainers-bats +- name: Logic App Standard Template + maintainer: mcollier + contact: https://github.com/mcollier/logic-app-dev-container-template/issues + repository: https://github.com/mcollier/logic-app-dev-container-template + ociReference: ghcr.io/mcollier/logic-app-dev-container-template +- name: Additional Dev Container Features by prulloac + maintainer: Pablo Ulloa + contact: https://github.com/prulloac/devcontainer-features/issues + repository: https://github.com/prulloac/devcontainer-features + ociReference: ghcr.io/prulloac/devcontainer-features +- name: Additional Dev Container Templates by prulloac + maintainer: Pablo Ulloa + contact: https://github.com/prulloac/devcontainer-templates/issues + repository: https://github.com/prulloac/devcontainer-templates + ociReference: ghcr.io/prulloac/devcontainer-templates +- name: Additional Dev Container Features by LumenPink + maintainer: lumenpink + contact: https://github.com/lumenpink/devcontainer-features/issues + repository: https://github.com/lumenpink/devcontainer-features + ociReference: ghcr.io/lumenpink/devcontainer-features +- name: Templates by Mohd Shukri Hasan + maintainer: Mohd Shukri Hasan + contact: https://github.com/hsm207/devcontainer-templates/issues + repository: https://github.com/hsm207/devcontainer-templates + ociReference: ghcr.io/hsm207/devcontainer-templates +- name: Dev Container Features by CASL0 + maintainer: CASL0 + contact: https://github.com/CASL0/devcontainer-features/issues + repository: https://github.com/CASL0/devcontainer-features + ociReference: ghcr.io/casl0/devcontainer-features +- name: Development Container Features by goldsam + maintainer: goldsam + contact: https://github.com/goldsam/dev-container-features/issues + repository: https://github.com/goldsam/dev-container-features + ociReference: ghcr.io/goldsam/dev-container-features +- name: Azure Functions Dev Container Templates + maintainer: Tatsuro Shibamura + contact: https://github.com/shibayan/devcontainers/issues + repository: https://github.com/shibayan/devcontainers + ociReference: ghcr.io/shibayan/devcontainers +- name: Dev Container Templates by RSM HCD Engineering + maintainer: RSM HCD Engineering + contact: https://github.com/rsm-hcd + repository: https://github.com/rsm-hcd/devcontainer-templates + ociReference: ghcr.io/rsm-hcd/devcontainer-templates +- name: Additional Dev Container Features by Georg Ofenbeck + maintainer: Georg Ofenbeck + contact: https://github.com/GeorgOfenbeck/features/issues + repository: https://github.com/GeorgOfenbeck/features + ociReference: ghcr.io/georgofenbeck/features +- name: Dev Container Features by Niko Böckerman + maintainer: Niko Böckerman + contact: https://github.com/nikobockerman + repository: https://github.com/nikobockerman/devcontainer-features + ociReference: ghcr.io/nikobockerman/devcontainer-features +- name: Bun.sh Runtime Dev Container Templates + maintainer: Marcos Gomes Neto + contact: https://github.com/marcosgomesneto/bun-devcontainers/issues + repository: https://github.com/marcosgomesneto/bun-devcontainers + ociReference: ghcr.io/marcosgomesneto/bun-devcontainers +- name: Weik.io Dev Container Templates + maintainer: Mikael Koskinen + contact: https://github.com/weikio/devcontainer-templates/issues + repository: https://github.com/weikio/devcontainer-templates + ociReference: ghcr.io/weikio/devcontainer-templates +- name: Dev Container Features by Hans Spaans + maintainer: Hans Spaans + contact: https://github.com/hspaans/devcontainer-features/issues + repository: https://github.com/hspaans/devcontainer-features + ociReference: ghcr.io/hspaans/devcontainer-features +- name: Dev Container Templates by johnluicn + maintainer: johnluicn + contact: https://github.com/johnluicn/devcontainer-templates/issues + repository: https://github.com/johnluicn/devcontainer-templates + ociReference: ghcr.io/johnluicn/devcontainer-templates +- name: Bob buildsystem and DevBox features + maintainer: Dirk Louwers + contact: https://github.com/dlouwers/devcontainer-features/issues + repository: https://github.com/dlouwers/devcontainer-features + ociReference: ghcr.io/dlouwers/devcontainer-features +- name: Dev Container Features by kreemer + maintainer: kreemer + contact: https://github.com/kreemer/features/issues + repository: https://github.com/kreemer/features + ociReference: ghcr.io/kreemer/features +- name: Dev Container Features by Vero + maintainer: Vero + contact: https://github.com/veronoicc/devcontainer-features/issues + repository: https://github.com/veronoicc/devcontainer-features + ociReference: ghcr.io/veronoicc/devcontainer-features +- name: Dev Container Templates by joshuanianji + maintainer: joshuanianji + contact: https://github.com/joshuanianji/devcontainer-templates/issues + repository: https://github.com/joshuanianji/devcontainer-templates + ociReference: ghcr.io/joshuanianji/devcontainer-templates +- name: OpenCodeCo Dev Containers goodies + maintainer: leocavalcante + contact: https://github.com/orgs/opencodeco/discussions + repository: https://github.com/opencodeco/devcontainers + ociReference: ghcr.io/opencodeco/devcontainers +- name: Dev Container Features by Valentin + maintainer: Valentin Heiligers + contact: https://github.com/va-h/devcontainers-features/issues + repository: https://github.com/va-h/devcontainers-features + ociReference: ghcr.io/va-h/devcontainers-features +- name: Alloy Dev Container Template + maintainer: heathprovost + contact: https://github.com/heathprovost/alloy-devcontainer-template/issues + repository: https://github.com/heathprovost/alloy-devcontainer-template + ociReference: ghcr.io/heathprovost/alloy-devcontainer-template +- name: Arch Linux Dev Container Features + maintainer: Bart Venter + contact: https://github.com/bartventer/arch-devcontainer-features/issues + repository: https://github.com/bartventer/arch-devcontainer-features + ociReference: ghcr.io/bartventer/arch-devcontainer-features +- name: BPMN and DMN linters + maintainer: Waqqas Jabbar + contact: https://github.com/waqqas/feature/issues + repository: https://github.com/waqqas/feature/ + ociReference: ghcr.io/waqqas/feature +- name: Veryl + maintainer: dalance + contact: https://github.com/veryl-lang/devcontainer-features/issues + repository: https://github.com/veryl-lang/devcontainer-features/ + ociReference: ghcr.io/veryl-lang/devcontainer-features +- name: Dev Container Features by dusansimic + maintainer: dusansimic + contact: https://github.com/dusansimic/devcontainer-features/issues + repository: https://github.com/dusansimic/devcontainer-features/ + ociReference: ghcr.io/dusansimic/devcontainer-features +- name: Dev Container Features (Cadu Ribeiro) + maintainer: Cadu Ribeiro + contact: https://github.com/duduribeiro/devcontainer-features/issues + repository: https://github.com/duduribeiro/devcontainer-features/ + ociReference: ghcr.io/duduribeiro/devcontainer-features +- name: Dev Container Features by skriptfabrik + maintainer: skriptfabrik + contact: https://github.com/skriptfabrik/devcontainer-features/issues + repository: https://github.com/skriptfabrik/devcontainer-features/ + ociReference: ghcr.io/skriptfabrik/devcontainer-features +- name: Dev Container Features by m4tchl0ck + maintainer: Adrian Rusznica + contact: https://github.com/m4tchl0ck/devcontainer-features/issues + repository: https://github.com/m4tchl0ck/devcontainer-features/ + ociReference: ghcr.io/m4tchl0ck/devcontainer-features +- name: Dev Container Features by nils-geistmann + maintainer: Nils Geistmann + contact: https://github.com/nils-geistmann/devcontainers-features/issues + repository: https://github.com/nils-geistmann/devcontainers-features/ + ociReference: ghcr.io/nils-geistmann/devcontainers-features +- name: OpenFGA CLI + maintainer: Andrew Porter + contact: https://github.com/partydrone/devcontainer/issues + repository: https://github.com/partydrone/devcontainer + ociReference: ghcr.io/partydrone/devcontainer/features +- name: Dev Container Features by rafaph + maintainer: Raphael Castro + contact: https://github.com/rafaph/devcontainer-features/issues + repository: https://github.com/rafaph/devcontainer-features + ociReference: ghcr.io/rafaph/devcontainer-features +- name: SPFx Dev Container + maintainer: Troy + contact: https://github.com/tpalacino/SPFx-dev-container/issues + repository: https://github.com/tpalacino/SPFx-dev-container + ociReference: ghcr.io/tpalacino/spfx-dev-container +- name: GMkonan devcontainer features + maintainer: GMkonan + contact: https://github.com/GMkonan/fly-cli-feature/issues + repository: https://github.com/GMkonan/fly-cli-feature + ociReference: ghcr.io/gmkonan/fly-cli-feature +- name: Dev Container Features by E-gineering + maintainer: E-gineering + contact: https://github.com/e-gineering/devcontainer-features/issues + repository: https://github.com/e-gineering/devcontainer-features + ociReference: ghcr.io/e-gineering/devcontainer-features +- name: Dev Container Templates by E-gineering + maintainer: E-gineering + contact: https://github.com/e-gineering/devcontainer-templates/issues + repository: https://github.com/e-gineering/devcontainer-templates + ociReference: ghcr.io/e-gineering/devcontainer-templates +- name: ROS2 devcontainer Template + maintainer: Tony Najjar + contact: https://github.com/tonynajjar/ros2_devcontainer_template/issues + repository: https://github.com/tonynajjar/ros2_devcontainer_template/ + ociReference: ghcr.io/tonynajjar/ros2_devcontainer_template +- name: Clojure devcontainer templates + maintainer: Carsten Behring + contact: https://github.com/scicloj/devcontainer-templates/issues + repository: https://github.com/scicloj/devcontainer-templates/ + ociReference: ghcr.io/scicloj/devcontainer-templates +- name: Synology devcontainer Templates + maintainer: ChaosWars + contact: https://github.com/ChaosWars/synology-features/issues + repository: https://github.com/ChaosWars/synology-features/ + ociReference: ghcr.io/chaoswars/synology-features +- name: Assorted Features + maintainer: tcaky + contact: https://github.com/tcaky/devcontainer-features/issues + repository: https://github.com/tcaky/devcontainer-features + ociReference: ghcr.io/tcaky/devcontainer-features +- name: Dev & Container features + maintainer: LarsNieuwenhuizen + contact: https://github.com/LarsNieuwenhuizen/features/issues + repository: https://github.com/LarsNieuwenhuizen/features + ociReference: ghcr.io/larsnieuwenhuizen/features +- name: Dev Container Features by enrico9034 + maintainer: enrico9034 + contact: https://github.com/enrico9034/devcontainer-features/issues + repository: https://github.com/enrico9034/devcontainer-features + ociReference: ghcr.io/enrico9034/devcontainer-features +- name: Dev Container Templates by ThePhaseless + maintainer: ThePhaseless + contact: https://github.com/ThePhaseless/devcontainer-templates/issues + repository: https://github.com/ThePhaseless/devcontainer-templates + ociReference: ghcr.io/thephaseless/devcontainer-templates +- name: Devcontainer Features by nikiforovall + maintainer: nikiforovall + contact: https://github.com/nikiforovall/devcontainer-features/issues + repository: https://github.com/nikiforovall/devcontainer-features + ociReference: ghcr.io/nikiforovall/devcontainer-features +- name: Dev Container Templates by matheusfvesco + maintainer: matheusfvesco + contact: https://github.com/matheusfvesco/devcontainer-templates/issues + repository: https://github.com/matheusfvesco/devcontainer-templates + ociReference: ghcr.io/matheusfvesco/devcontainer-templates +- name: Dennis Irsigler Dev Container Features + maintainer: dirsigler + contact: https://github.com/dirsigler/devcontainer-features/issues + repository: https://github.com/dirsigler/devcontainer-features + ociReference: ghcr.io/dirsigler/devcontainer-features +- name: Dev Container Templates by sleter + maintainer: sleter + contact: https://github.com/sleter/mojo-devcontainer/issues + repository: https://github.com/sleter/mojo-devcontainer + ociReference: ghcr.io/sleter/mojo-devcontainer +- name: Devcontainer features by sidecus + maintainer: sidecus + contact: https://github.com/sidecus/devcontainer-features/issues + repository: https://github.com/sidecus/devcontainer-features + ociReference: ghcr.io/sidecus/devcontainer-features +- name: MATLAB Feature for DevContainers + maintainer: The MathWorks Inc. + contact: https://github.com/mathworks/devcontainer-features/issues + repository: https://github.com/mathworks/devcontainer-features + ociReference: ghcr.io/mathworks/devcontainer-features +- name: Julian Pawlowski Dev Container Features + maintainer: Julian Pawlowski + contact: https://github.com/jpawlowski/devcontainer-features/issues + repository: https://github.com/jpawlowski/devcontainer-features + ociReference: ghcr.io/jpawlowski/devcontainer-features +- name: pre-commit hooks(via pip) & sonarlint + maintainer: gvatsal60 (Vatsal Gupta) + contact: https://github.com/gvatsal60/dev-container-features/issues + repository: https://github.com/gvatsal60/dev-container-features + ociReference: ghcr.io/gvatsal60/dev-container-features +- name: Devcontainer features by git-saj + maintainer: git-saj + contact: https://github.com/git-saj/devcontainer-features/issues + repository: https://github.com/git-saj/devcontainer-features + ociReference: ghcr.io/git-saj/devcontainer-features +- name: Devcontainer features by Codefabrik + maintainer: Codefabrik GmbH + contact: https://github.com/code-fabrik/features/issues + repository: https://github.com/code-fabrik/features + ociReference: ghcr.io/code-fabrik/features +- name: Devcontainer features by Juan Ayala + maintainer: Juan Ayala + contact: https://github.com/juan-ayala/devcontainer-features/issues + repository: https://github.com/juan-ayala/devcontainer-features + ociReference: ghcr.io/juan-ayala/devcontainer-features +- name: Devcontainer templates by Juan Ayala + maintainer: Juan Ayala + contact: https://github.com/juan-ayala/devcontainer-templates/issues + repository: https://github.com/juan-ayala/devcontainer-templates + ociReference: ghcr.io/juan-ayala/devcontainer-templates +- name: LocalStack DevContainer Feature + maintainer: LocalStack GmbH + contact: https://github.com/localstack/devcontainer-feature/issues + repository: https://github.com/localstack/devcontainer-feature + ociReference: ghcr.io/localstack/devcontainer-feature +- name: LocalStack DevContainer Template + maintainer: LocalStack GmbH + contact: https://github.com/localstack/devcontainer-template/issues + repository: https://github.com/localstack/devcontainer-template + ociReference: ghcr.io/localstack/devcontainer-template +- name: Dev Container features by Adaptavist + maintainer: Mark Gibson + contact: https://github.com/adaptavist/devcontainer-features/issues + repository: https://github.com/adaptavist/devcontainer-features + ociReference: ghcr.io/adaptavist/devcontainer-features +- name: Dev Container features by phil-bell + maintainer: Phil Bell + contact: https://github.com/phil-bell/devcontainer-features/issues + repository: https://github.com/phil-bell/devcontainer-features + ociReference: ghcr.io/phil-bell/devcontainer-features +- name: Dev Container Templates by Alex Wegener + maintainer: Alex Wegener + contact: https://github.com/lx-0/devcontainer-templates/issues + repository: https://github.com/lx-0/devcontainer-templates + ociReference: ghcr.io/lx-0/devcontainer-templates +- name: Hauke's Features for Development Containers + maintainer: Hauke D + contact: https://github.com/haukex/devcontainer-features/issues + repository: https://github.com/haukex/devcontainer-features + ociReference: ghcr.io/haukex/devcontainer-features +- name: Devcontainer features by vmvarela + maintainer: Victor M. Varela + contact: https://github.com/vmvarela/devcontainer-features/issues + repository: https://github.com/vmvarela/devcontainer-features +- name: Crystal features + maintainer: Caesarovich + contact: https://github.com/Caesarovich/devcontainer-feature-crystal/issues + repository: https://github.com/Caesarovich/devcontainer-feature-crystal + ociReference: ghcr.io/caesarovich/devcontainer-feature-crystal +- name: Dev Container Features by devcontainers-extra + maintainer: devcontainers-extra + contact: https://github.com/devcontainers-extra/features/issues + repository: https://github.com/devcontainers-extra/features + ociReference: ghcr.io/devcontainers-extra/features +- name: devcontainer features by Bas Steins + maintainer: Bas Steins + contact: https://bas.codes + repository: https://github.com/bascodes/devcontainer-features + ociReference: ghcr.io/bascodes/devcontainer-features +- name: devcontainer features by rhiroe + maintainer: rhiroe + contact: https://github.com/rhiroe/features/issues + repository: https://github.com/rhiroe/features + ociReference: ghcr.io/rhiroe/features +- name: devcontainer features by martinaskestad + maintainer: martinaskestad + contact: https://github.com/martinaskestad/features/issues + repository: https://github.com/martinaskestad/features + ociReference: ghcr.io/martinaskestad/features +- name: devcontainer features for wolfi base docker image + maintainer: David Zucker + contact: https://github.com/davzucky/devcontainers-features-wolfi/issues + repository: https://github.com/davzucky/devcontainers-features-wolfi + ociReference: ghcr.io/davzucky/devcontainers-features-wolfi +- name: Dev Container Features by ForWarD Software + maintainer: ForWarD Software + contact: https://github.com/forwardsoftware/devcontainer-features/issues + repository: https://github.com/forwardsoftware/devcontainer-features + ociReference: ghcr.io/forwardsoftware/devcontainer-features +- name: devcontainer feature to install apt dependencies defined in an `Aptfile.dev` file. + maintainer: Viktor Schmidt + contact: https://github.com/viktorianer/devcontainer-features/issues + repository: https://github.com/viktorianer/devcontainer-features/tree/main/src/apt + ociReference: ghcr.io/viktorianer/devcontainer-features/apt +- name: devcontainer features by ChaosWars + maintainer: ChaosWars + contact: https://github.com/ChaosWars/vscode-features/issues + repository: https://github.com/ChaosWars/vscode-features + ociReference: ghcr.io/chaoswars/vscode-features +- name: Community features by devcontainer.community + maintainer: devcontainer.community + contact: https://devcontainer.community + repository: https://github.com/devcontainer-community/devcontainer-features + ociReference: ghcr.io/devcontainer-community/devcontainer-features +- name: Additional Dev Container Features by braun-daniel + maintainer: Daniel Braun + contact: https://github.com/braun-daniel/devcontainer-features/issues + repository: https://github.com/braun-daniel/devcontainer-features + ociReference: ghcr.io/braun-daniel/devcontainer-features +- name: Dev Container Features by Ivan Szkiba + maintainer: Ivan Szkiba + contact: https://github.com/szkiba/devcontainer-features/issues + repository: https://github.com/szkiba/devcontainer-features + ociReference: ghcr.io/szkiba/devcontainer-features +- name: devcontainer features by TheDiveO + maintainer: TheDiveO + contact: https://github.com/thediveo/devcontainer-features/issues + repository: https://github.com/thediveo/devcontainer-features + ociReference: ghcr.io/thediveo/devcontainer-features +- name: devcontainer features by .NET Aspire + maintainer: danmoseley + contact: https://github.com/dotnet/aspire-devcontainer-feature/issues + repository: https://github.com/dotnet/aspire-devcontainer-feature + ociReference: ghcr.io/dotnet/aspire-devcontainer-feature +- name: devcontainer features by RouL + maintainer: Markus Zhang + contact: https://github.com/RouL/devcontainer-features/issues + repository: https://github.com/RouL/devcontainer-features + ociReference: ghcr.io/roul/devcontainer-features +- name: devcontainer templates by techiro + maintainer: techiro + contact: https://github.com/techiro/devcontainer-template/issues + repository: https://github.com/techiro/devcontainer-template + ociReference: ghcr.io/techiro/devcontainer-template +- name: Claude Code Feature + maintainer: Anthropic + contact: https://github.com/anthropics/devcontainer-features/issues + repository: https://github.com/anthropics/devcontainer-features + ociReference: ghcr.io/anthropics/devcontainer-features/claude-code +- name: devcontainer templates by blooop + maintainer: Austin Gregg-Smith + contact: https://github.com/blooop/devcontainer-templates/issues + repository: https://github.com/blooop/devcontainer-templates + ociReference: ghcr.io/blooop/devcontainer-templates +- name: devcontainer features by prplecake + maintainer: Matthew Jorgensen (prplecake) + contact: https://github.com/prplecake/devcontainer-features/issues + repository: https://github.com/prplecake/devcontainer-features + ociReference: ghcr.io/prplecake/devcontainer-features +- name: Ziglang devcontainer Template + maintainer: fardragon + contact: https://github.com/fardragon/devcontainers-zig-template/issues + repository: https://github.com/fardragon/devcontainers-zig-template + ociReference: ghcr.io/fardragon/devcontainers-zig-template +- name: TTCN-3-Devcontainer + maintainer: Muhammad Umair Khan + contact: https://github.com/m-umair-khan-dev/devcontainers/issues + repository: https://github.com/m-umair-khan-dev/devcontainers + ociReference: ghcr.io/m-umair-khan-dev/devcontainers/ttcn-3-devcontainer +- name: Dev Container Features by Grafana Labs + maintainer: Grafana Labs + contact: https://github.com/grafana/devcontainer-features/issues + repository: https://github.com/grafana/devcontainer-features + ociReference: ghcr.io/grafana/devcontainer-features +- name: Dev Container Features by httpdss + maintainer: httpdss + contact: https://github.com/httpdss/devcontainers-features/issues + repository: https://github.com/httpdss/devcontainers-features + ociReference: ghcr.io/httpdss/devcontainers-features +- name: Axon Ivy devcontainer template + maintainer: axonivy + contact: https://github.com/axonivy/devcontainer-templates/issues + repository: https://github.com/axonivy/devcontainer-templates + ociReference: ghcr.io/axonivy/devcontainer-templates +- name: Dev Container Features by Coder + maintainer: Coder + contact: https://github.com/coder/devcontainer-features/issues + repository: https://github.com/coder/devcontainer-features + ociReference: ghcr.io/coder/devcontainer-features +- name: Dev Container Features by atty303 + maintainer: atty303 + contact: https://github.com/atty303/devcontainer-features/issues + repository: https://github.com/atty303/devcontainer-features + ociReference: ghcr.io/atty303/devcontainer-features +- name: devcontainer features by MuhmdRaouf + maintainer: Mohammed Abdel Raouf (MuhmdRaouf) + contact: https://github.com/muhmdraouf/devcontainers-features/issues + repository: https://github.com/muhmdraouf/devcontainers-features + ociReference: ghcr.io/muhmdraouf/devcontainers-features +- name: Dev Container Features by John Ajera + maintainer: John Ajera + contact: https://github.com/jajera/features/issues + repository: https://github.com/jajera/features + ociReference: ghcr.io/jajera/features +- name: MrSimonEmms Dev Container Features + maintainer: MrSimonEmms + contact: https://github.com/mrsimonemms/devcontainers/issues + repository: https://github.com/mrsimonemms/devcontainers + ociReference: ghcr.io/mrsimonemms/devcontainers +- name: HTTPie Feature + maintainer: Ferdinand Keller + contact: https://github.com/ferdinandkeller/features/issues + repository: https://github.com/ferdinandkeller/features + ociReference: ghcr.io/ferdinandkeller/features/httpie +- name: Rojo Feature + maintainer: Ryan Luu + contact: https://github.com/RyanLua/features/issues + repository: https://github.com/RyanLua/features + ociReference: ghcr.io/ryanlua/features +- name: Roblox Template + maintainer: Ryan Luu + contact: https://github.com/RyanLua/templates/issues + repository: https://github.com/RyanLua/templates + ociReference: ghcr.io/ryanlua/templates