diff --git a/.github/workflows/actions.yaml b/.github/workflows/actions.yaml deleted file mode 100644 index 770d642a..00000000 --- a/.github/workflows/actions.yaml +++ /dev/null @@ -1,33 +0,0 @@ -on: - push: - branches: - - '**' - -jobs: - converge: - name: Converge - runs-on: ubuntu-latest - steps: - - - name: Checkout code - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Install werf - uses: werf/actions/install@v1.2 - - - name: Log in to registry - # This is where you will update the personal access token to GITHUB_TOKEN - run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin - - - name: Run echo - run: | - werf version - docker version - echo $GITHUB_REPOSITORY - echo $GITHUB_SHA - - name: Run Build - run: | - . $(werf ci-env github --as-file) - werf export web --tag ghcr.io/$GITHUB_REPOSITORY:$GITHUB_SHA \ No newline at end of file diff --git a/.github/workflows/lint-and-test.yaml b/.github/workflows/lint-and-test.yaml new file mode 100644 index 00000000..9a26ddc8 --- /dev/null +++ b/.github/workflows/lint-and-test.yaml @@ -0,0 +1,22 @@ +name: Lint and test + +on: [pull_request] + +jobs: + build_and_test: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + nodejs: [18] + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.nodejs }} + - name: Lint and test + run: | + yarn install + yarn build + yarn lint + yarn test diff --git a/.github/workflows/publish.yaml b/.github/workflows/tag-rc.yaml similarity index 75% rename from .github/workflows/publish.yaml rename to .github/workflows/tag-rc.yaml index 3bef2b67..316bb2c6 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/tag-rc.yaml @@ -1,12 +1,11 @@ -name: Publish to NPM +name: Publish RC to NPM on: push: tags: - - '*.*.*' + - '[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+' jobs: - publish: runs-on: ubuntu-latest strategy: @@ -21,6 +20,8 @@ jobs: run: | yarn install yarn build - yarn publish + yarn lint + yarn test + yarn publish-rc env: NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} diff --git a/.github/workflows/tag.yaml b/.github/workflows/tag.yaml index 9b4286e3..7522dab9 100644 --- a/.github/workflows/tag.yaml +++ b/.github/workflows/tag.yaml @@ -1,33 +1,27 @@ +name: Publish Stable to NPM + on: push: tags: - '[0-9]+.[0-9]+.[0-9]+' jobs: - converge: - name: Converge + publish: runs-on: ubuntu-latest + strategy: + matrix: + nodejs: [ 18 ] steps: - - - name: Checkout code - uses: actions/checkout@v3 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - fetch-depth: 0 - - - name: Install werf - uses: werf/actions/install@v1.2 - - - name: Log in to registry - # This is where you will update the personal access token to GITHUB_TOKEN - run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin - - - name: Run echo - run: | - werf version - docker version - echo $GITHUB_REPOSITORY - echo $GITHUB_REF_NAME - - name: Run Build + node-version: ${{ matrix.nodejs }} + - name: Publish run: | - . $(werf ci-env github --as-file) - werf export web --tag ghcr.io/$GITHUB_REPOSITORY:$GITHUB_REF_NAME \ No newline at end of file + yarn install + yarn build + yarn lint + yarn test + yarn publish-stable + env: + NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 7b351a94..00000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,16 +0,0 @@ -# You can override the included template(s) by including variable overrides -# SAST customization: https://docs.gitlab.com/ee/user/application_security/sast/#customizing-the-sast-settings -# Secret Detection customization: https://docs.gitlab.com/ee/user/application_security/secret_detection/#customizing-settings -# Dependency Scanning customization: https://docs.gitlab.com/ee/user/application_security/dependency_scanning/#customizing-the-dependency-scanning-settings -# Container Scanning customization: https://docs.gitlab.com/ee/user/application_security/container_scanning/#customizing-the-container-scanning-settings -# Note that environment variables can be set in several places -# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence -stages: -- test -sast: - stage: test - tags: - - tokend - -include: -- template: Security/SAST.gitlab-ci.yml diff --git a/.yarnrc.yml b/.yarnrc.yml index 90350977..2dd037b8 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -13,7 +13,7 @@ enableTelemetry: false nodeLinker: node-modules -npmAuthToken: "${NPM_AUTH_TOKEN:-}" +npmAuthToken: '${NPM_AUTH_TOKEN:-}' packageExtensions: debug@*: @@ -23,6 +23,6 @@ packageExtensions: plugins: - path: .yarn/plugins/@yarnpkg/plugin-after-install.cjs - spec: "https://raw.githubusercontent.com/mhassan1/yarn-plugin-after-install/v0.6.0/bundles/@yarnpkg/plugin-after-install.js" + spec: 'https://raw.githubusercontent.com/mhassan1/yarn-plugin-after-install/v0.6.0/bundles/@yarnpkg/plugin-after-install.js' yarnPath: .yarn/releases/yarn-4.1.1.cjs diff --git a/CHANGELOG.md b/CHANGELOG.md index 80b1a351..2e6f5646 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `RemoveCredentials` credentials RPC method - `ExportIdentity` RPC method - `GetIdentity` RPC method +- GitHub Actions for pull request checks and publishing RC/stable versions ### Changed - `@rarimo/rarime`: @@ -23,9 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed - `packages/site` package - -### Removed -- `packages/site` package +- Unused CI scripts ## [2.0.3] - 2024-02-06 ### Changed diff --git a/package.json b/package.json index d8a51f1f..17982083 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,8 @@ "lint:eslint": "eslint . --cache --ext js,ts", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", "lint:misc": "prettier '**/*.json' '**/*.md' '!**/CHANGELOG.md' '**/*.yml' --ignore-path .gitignore", - "publish": "yarn workspaces foreach --no-private exec yarn npm publish", + "publish-rc": "yarn build && yarn workspaces foreach --no-private --all exec yarn npm publish --tag next", + "publish-stable": "yarn build && yarn workspaces foreach --no-private --all exec yarn npm publish", "rsc": "node scripts/release-sanity-check.js", "start": "yarn build:connector && yarn workspaces foreach --parallel --interlaced --verbose --all run start", "test": "yarn workspaces foreach -pv --no-private --all run test" diff --git a/packages/snap/abis/LightweightStateV2.json b/packages/snap/abis/LightweightStateV2.json index b51c347b..53337123 100644 --- a/packages/snap/abis/LightweightStateV2.json +++ b/packages/snap/abis/LightweightStateV2.json @@ -561,4 +561,4 @@ "stateMutability": "nonpayable", "type": "function" } -] \ No newline at end of file +] diff --git a/packages/snap/abis/StateV2.json b/packages/snap/abis/StateV2.json index 361ca005..275db6bb 100644 --- a/packages/snap/abis/StateV2.json +++ b/packages/snap/abis/StateV2.json @@ -1,945 +1,945 @@ [ - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint8", - "name": "version", - "type": "uint8" - } - ], - "name": "Initialized", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferStarted", - "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" - }, - { - "inputs": [], - "name": "VERSION", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "acceptOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - } - ], - "name": "getGISTProof", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "root", - "type": "uint256" - }, - { - "internalType": "bool", - "name": "existence", - "type": "bool" - }, - { - "internalType": "uint256[64]", - "name": "siblings", - "type": "uint256[64]" - }, - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bool", - "name": "auxExistence", - "type": "bool" - }, - { - "internalType": "uint256", - "name": "auxIndex", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "auxValue", - "type": "uint256" - } - ], - "internalType": "struct IState.GistProof", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "blockNumber", - "type": "uint256" - } - ], - "name": "getGISTProofByBlock", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "root", - "type": "uint256" - }, - { - "internalType": "bool", - "name": "existence", - "type": "bool" - }, - { - "internalType": "uint256[64]", - "name": "siblings", - "type": "uint256[64]" - }, - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bool", - "name": "auxExistence", - "type": "bool" - }, - { - "internalType": "uint256", - "name": "auxIndex", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "auxValue", - "type": "uint256" - } - ], - "internalType": "struct IState.GistProof", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "root", - "type": "uint256" - } - ], - "name": "getGISTProofByRoot", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "root", - "type": "uint256" - }, - { - "internalType": "bool", - "name": "existence", - "type": "bool" - }, - { - "internalType": "uint256[64]", - "name": "siblings", - "type": "uint256[64]" - }, - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bool", - "name": "auxExistence", - "type": "bool" - }, - { - "internalType": "uint256", - "name": "auxIndex", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "auxValue", - "type": "uint256" - } - ], - "internalType": "struct IState.GistProof", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "timestamp", - "type": "uint256" - } - ], - "name": "getGISTProofByTime", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "root", - "type": "uint256" - }, - { - "internalType": "bool", - "name": "existence", - "type": "bool" - }, - { - "internalType": "uint256[64]", - "name": "siblings", - "type": "uint256[64]" - }, - { - "internalType": "uint256", - "name": "index", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bool", - "name": "auxExistence", - "type": "bool" - }, - { - "internalType": "uint256", - "name": "auxIndex", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "auxValue", - "type": "uint256" - } - ], - "internalType": "struct IState.GistProof", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getGISTRoot", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "getGISTRootHistory", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "root", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "replacedByRoot", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "createdAtTimestamp", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "replacedAtTimestamp", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "createdAtBlock", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "replacedAtBlock", - "type": "uint256" - } - ], - "internalType": "struct IState.GistRootInfo[]", - "name": "", - "type": "tuple[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getGISTRootHistoryLength", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "root", - "type": "uint256" - } - ], - "name": "getGISTRootInfo", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "root", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "replacedByRoot", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "createdAtTimestamp", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "replacedAtTimestamp", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "createdAtBlock", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "replacedAtBlock", - "type": "uint256" - } - ], - "internalType": "struct IState.GistRootInfo", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "blockNumber", - "type": "uint256" - } - ], - "name": "getGISTRootInfoByBlock", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "root", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "replacedByRoot", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "createdAtTimestamp", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "replacedAtTimestamp", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "createdAtBlock", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "replacedAtBlock", - "type": "uint256" - } - ], - "internalType": "struct IState.GistRootInfo", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "timestamp", - "type": "uint256" - } - ], - "name": "getGISTRootInfoByTime", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "root", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "replacedByRoot", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "createdAtTimestamp", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "replacedAtTimestamp", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "createdAtBlock", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "replacedAtBlock", - "type": "uint256" - } - ], - "internalType": "struct IState.GistRootInfo", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - } - ], - "name": "getStateInfoById", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "state", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "replacedByState", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "createdAtTimestamp", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "replacedAtTimestamp", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "createdAtBlock", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "replacedAtBlock", - "type": "uint256" - } - ], - "internalType": "struct IState.StateInfo", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "state", - "type": "uint256" - } - ], - "name": "getStateInfoByIdAndState", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "state", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "replacedByState", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "createdAtTimestamp", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "replacedAtTimestamp", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "createdAtBlock", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "replacedAtBlock", - "type": "uint256" - } - ], - "internalType": "struct IState.StateInfo", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "startIndex", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - } - ], - "name": "getStateInfoHistoryById", - "outputs": [ - { - "components": [ - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "state", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "replacedByState", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "createdAtTimestamp", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "replacedAtTimestamp", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "createdAtBlock", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "replacedAtBlock", - "type": "uint256" - } - ], - "internalType": "struct IState.StateInfo[]", - "name": "", - "type": "tuple[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - } - ], - "name": "getStateInfoHistoryLengthById", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getVerifier", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - } - ], - "name": "idExists", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IStateTransitionVerifier", - "name": "verifierContractAddr", - "type": "address" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "pendingOwner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newVerifierAddr", - "type": "address" - } - ], - "name": "setVerifier", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "state", - "type": "uint256" - } - ], - "name": "stateExists", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "oldState", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "newState", - "type": "uint256" - }, - { - "internalType": "bool", - "name": "isOldStateGenesis", - "type": "bool" - }, - { - "internalType": "uint256[2]", - "name": "a", - "type": "uint256[2]" - }, - { - "internalType": "uint256[2][2]", - "name": "b", - "type": "uint256[2][2]" - }, - { - "internalType": "uint256[2]", - "name": "c", - "type": "uint256[2]" - } - ], - "name": "transitState", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ] \ No newline at end of file + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferStarted", + "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" + }, + { + "inputs": [], + "name": "VERSION", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "acceptOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "id", + "type": "uint256" + } + ], + "name": "getGISTProof", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "root", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "existence", + "type": "bool" + }, + { + "internalType": "uint256[64]", + "name": "siblings", + "type": "uint256[64]" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "auxExistence", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "auxIndex", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "auxValue", + "type": "uint256" + } + ], + "internalType": "struct IState.GistProof", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "blockNumber", + "type": "uint256" + } + ], + "name": "getGISTProofByBlock", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "root", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "existence", + "type": "bool" + }, + { + "internalType": "uint256[64]", + "name": "siblings", + "type": "uint256[64]" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "auxExistence", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "auxIndex", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "auxValue", + "type": "uint256" + } + ], + "internalType": "struct IState.GistProof", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "root", + "type": "uint256" + } + ], + "name": "getGISTProofByRoot", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "root", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "existence", + "type": "bool" + }, + { + "internalType": "uint256[64]", + "name": "siblings", + "type": "uint256[64]" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "auxExistence", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "auxIndex", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "auxValue", + "type": "uint256" + } + ], + "internalType": "struct IState.GistProof", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "timestamp", + "type": "uint256" + } + ], + "name": "getGISTProofByTime", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "root", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "existence", + "type": "bool" + }, + { + "internalType": "uint256[64]", + "name": "siblings", + "type": "uint256[64]" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "auxExistence", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "auxIndex", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "auxValue", + "type": "uint256" + } + ], + "internalType": "struct IState.GistProof", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getGISTRoot", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "start", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "length", + "type": "uint256" + } + ], + "name": "getGISTRootHistory", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "root", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "replacedByRoot", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "createdAtTimestamp", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "replacedAtTimestamp", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "createdAtBlock", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "replacedAtBlock", + "type": "uint256" + } + ], + "internalType": "struct IState.GistRootInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getGISTRootHistoryLength", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "root", + "type": "uint256" + } + ], + "name": "getGISTRootInfo", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "root", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "replacedByRoot", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "createdAtTimestamp", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "replacedAtTimestamp", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "createdAtBlock", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "replacedAtBlock", + "type": "uint256" + } + ], + "internalType": "struct IState.GistRootInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "blockNumber", + "type": "uint256" + } + ], + "name": "getGISTRootInfoByBlock", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "root", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "replacedByRoot", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "createdAtTimestamp", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "replacedAtTimestamp", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "createdAtBlock", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "replacedAtBlock", + "type": "uint256" + } + ], + "internalType": "struct IState.GistRootInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "timestamp", + "type": "uint256" + } + ], + "name": "getGISTRootInfoByTime", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "root", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "replacedByRoot", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "createdAtTimestamp", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "replacedAtTimestamp", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "createdAtBlock", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "replacedAtBlock", + "type": "uint256" + } + ], + "internalType": "struct IState.GistRootInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "id", + "type": "uint256" + } + ], + "name": "getStateInfoById", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "state", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "replacedByState", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "createdAtTimestamp", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "replacedAtTimestamp", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "createdAtBlock", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "replacedAtBlock", + "type": "uint256" + } + ], + "internalType": "struct IState.StateInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "state", + "type": "uint256" + } + ], + "name": "getStateInfoByIdAndState", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "state", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "replacedByState", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "createdAtTimestamp", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "replacedAtTimestamp", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "createdAtBlock", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "replacedAtBlock", + "type": "uint256" + } + ], + "internalType": "struct IState.StateInfo", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "startIndex", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "length", + "type": "uint256" + } + ], + "name": "getStateInfoHistoryById", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "state", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "replacedByState", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "createdAtTimestamp", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "replacedAtTimestamp", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "createdAtBlock", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "replacedAtBlock", + "type": "uint256" + } + ], + "internalType": "struct IState.StateInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "id", + "type": "uint256" + } + ], + "name": "getStateInfoHistoryLengthById", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getVerifier", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "id", + "type": "uint256" + } + ], + "name": "idExists", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "contract IStateTransitionVerifier", + "name": "verifierContractAddr", + "type": "address" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "pendingOwner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newVerifierAddr", + "type": "address" + } + ], + "name": "setVerifier", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "state", + "type": "uint256" + } + ], + "name": "stateExists", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "id", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "oldState", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "newState", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "isOldStateGenesis", + "type": "bool" + }, + { + "internalType": "uint256[2]", + "name": "a", + "type": "uint256[2]" + }, + { + "internalType": "uint256[2][2]", + "name": "b", + "type": "uint256[2][2]" + }, + { + "internalType": "uint256[2]", + "name": "c", + "type": "uint256[2]" + } + ], + "name": "transitState", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] diff --git a/packages/snap/assets/circuits/credentialAtomicQueryMTPV2/verification_key.json b/packages/snap/assets/circuits/credentialAtomicQueryMTPV2/verification_key.json index a25076e5..32204554 100644 --- a/packages/snap/assets/circuits/credentialAtomicQueryMTPV2/verification_key.json +++ b/packages/snap/assets/circuits/credentialAtomicQueryMTPV2/verification_key.json @@ -1,474 +1,465 @@ { - "protocol": "groth16", - "curve": "bn128", - "nPublic": 77, - "vk_alpha_1": [ - "20491192805390485299153009773594534940189261866228447918068658471970481763042", - "9383485363053290200918347156157836566562967994039712273449902621266178545958", - "1" - ], - "vk_beta_2": [ - [ - "6375614351688725206403948262868962793625744043794305715222011528459656738731", - "4252822878758300859123897981450591353533073413197771768651442665752259397132" - ], - [ - "10505242626370262277552901082094356697409835680220590971873171140371331206856", - "21847035105528745403288232691147584728191162732299865338377159692350059136679" - ], - [ - "1", - "0" - ] - ], - "vk_gamma_2": [ - [ - "10857046999023057135944570762232829481370756359578518086990519993285655852781", - "11559732032986387107991004021392285783925812861821192530917403151452391805634" - ], - [ - "8495653923123431417604973247489272438418190587263600148770280649306958101930", - "4082367875863433681332203403145435568316851327593401208105741076214120093531" - ], - [ - "1", - "0" - ] - ], - "vk_delta_2": [ - [ - "1644379255755665639524620157273694289299700443812573873382829766089313318860", - "7556188580549660317988384269627745620737293209908047921156248879248956624707" - ], - [ - "4152535282542204467329585116559762832011400698522986966067931095980290970188", - "16189055543084045005292506154593172627834306869372118812851261475395122300622" - ], - [ - "1", - "0" - ] - ], - "vk_alphabeta_12": [ - [ - [ - "2029413683389138792403550203267699914886160938906632433982220835551125967885", - "21072700047562757817161031222997517981543347628379360635925549008442030252106" - ], - [ - "5940354580057074848093997050200682056184807770593307860589430076672439820312", - "12156638873931618554171829126792193045421052652279363021382169897324752428276" - ], - [ - "7898200236362823042373859371574133993780991612861777490112507062703164551277", - "7074218545237549455313236346927434013100842096812539264420499035217050630853" - ] - ], - [ - [ - "7077479683546002997211712695946002074877511277312570035766170199895071832130", - "10093483419865920389913245021038182291233451549023025229112148274109565435465" - ], - [ - "4595479056700221319381530156280926371456704509942304414423590385166031118820", - "19831328484489333784475432780421641293929726139240675179672856274388269393268" - ], - [ - "11934129596455521040620786944827826205713621633706285934057045369193958244500", - "8037395052364110730298837004334506829870972346962140206007064471173334027475" - ] - ] - ], - "IC": [ - [ - "18422857078372859553191448164294665542345065709653989973175579679294287359551", - "19200412732094068217443600300610712526816543050849771388672029576371853469584", - "1" - ], - [ - "8966723725809147921162750050376358833176377832917899053889677861860829963550", - "11341153581665210400343795342393322577490484170009235286254673614120878647101", - "1" - ], - [ - "9879865539447750277224788967575737948914682182107587045349147439108894751377", - "21453364078164924208802775510032568576822274174182360910595757742538922255516", - "1" - ], - [ - "17271376920492004526143567349281665569798920608192890900207570109619938357965", - "17658645521956741541229716428562791784745065800560561182268097024675562826941", - "1" - ], - [ - "19447905090608570348274226795081943117318789418973470654210086113107653241278", - "3042974824199824823166471398866477356543673808199912551478342128204368365801", - "1" - ], - [ - "15156321942657123795505661861540145354490508397591060397451108946953030754823", - "2174001979857398238020783370627974461537581724230646957383343539261668427900", - "1" - ], - [ - "2893784367520422410222380456081140868086719201082394136439924349009961441119", - "6701132256860531139366218617785973102272561389281339326001731135503450776817", - "1" - ], - [ - "2682959541435350505256066121391007731952110231233962493700272969732411696733", - "17209169979288623728661647278876944748718715772457044973402738622703306817989", - "1" - ], - [ - "499562621835133157087010512036306131395989534601985940081517169655947305794", - "16171076175966316991086493265714063940602842446350652041818239810706021681879", - "1" - ], - [ - "5132244909724750316498584905084137056169137672686304456145214374629023392472", - "6546991859900461714197094468917430881377836500486013407027474610681775159396", - "1" - ], - [ - "2668576684563152354350259868353189824258528180056497740408480383980454734066", - "1535738486247883392173175472896261157323461087865457493262219315347601667500", - "1" - ], - [ - "10785473402637955729291841575016422918107164425021911175421942675184558968090", - "11345810119385896301851632457198739313674262335948445894527389358734712913516", - "1" - ], - [ - "1412993008080518728455375349826306781032689703676503984254325722611846888434", - "19781302125889607635883414978668480814071954491775541599692924120980145899599", - "1" - ], - [ - "2543531439810734534018065629410144813897832425457328128967847888580078363455", - "8290575017821769892134912565219366777438869089694072485822723325342666816008", - "1" - ], - [ - "1002922190610148990099887492211004813681538196842215269979191666109888959814", - "20619964733250977362581881412991948675311360234768187166450914392005451730358", - "1" - ], - [ - "15870912960135403856400514545374914694476998269086073865385158549754145963771", - "20684949892083599847849427854173962987156046683062436388401257024101668208599", - "1" - ], - [ - "8831502501719650739624882314498213905138374744030524531789511798263213692297", - "12841757675802823212324373320135070019627481835282469830860284467661624632496", - "1" - ], - [ - "11024979320888031984055829947181451956336570558598363948579563194733939622287", - "18997905406534827287278617121302620290169563192770621622363184450430351660574", - "1" - ], - [ - "16869449048007600468318897118524861382044610982428636771901906750236031314195", - "15438052670706503878189305795226519679700087347809533390683372366897495253782", - "1" - ], - [ - "15918279260795292593956401668763734193558830697313388423850914871334250125739", - "8390709997430195886659648328077505730920457894542918693342626584476768467556", - "1" - ], - [ - "10798377190077256499154897763066112669971641940307492798780438616745102850691", - "3612173055981570065938518906067521507588334568151689656355953453603129645964", - "1" - ], - [ - "10283501512088874941321977823410512484354301327524005689289271531565943800039", - "3413727085936726278666795560940572030581500988023163312691493343929115927124", - "1" - ], - [ - "2296275912278297097224081815998877707798340371647976495099500783107062881957", - "9398410071944512098160808850726511894933677864547346561538382995776881905238", - "1" - ], - [ - "16894600684081728341321342508855178930751254711101008689080082374710936127272", - "12161453909477382567743014045075508805093784837270549401954931244139597225085", - "1" - ], - [ - "6268487288856125630650511644329678106052302875119583489182428159711946592368", - "5841252196480850530373191299721977191681750934584486469365944205706179548638", - "1" - ], - [ - "6852882622300147668192439693377660004185303019132689479493632664567357096830", - "10882891395088061300220569909151852301817335367848038253676795263334452296409", - "1" - ], - [ - "15198590029135566791939530181694358354001166637744293674348864120420627936109", - "9367773651339063637980144228320691148645080564385341249114902167341421601663", - "1" - ], - [ - "11703644592499513786125973700632933001103077563618529422619953827430371965059", - "15268256030107099411721655429931816597474879602558228384538893152110835355985", - "1" - ], - [ - "12524529491165694702027137268186075636174656025287741413565496343080631508399", - "9372786123977825789042012545805363579046088706709621468746585656937388381431", - "1" - ], - [ - "273518393549043472687837864184789086758030869752905336300136035955706181307", - "6816952832511221459658135400694225067096307534852277283270887023904178709525", - "1" - ], - [ - "1645523311170082397413986203809923280266656698291914513085993238167303820895", - "13658793807208210506708310931635228156814129276176152104446631399468550574710", - "1" - ], - [ - "11390639911376397182713391277480364588913655592454794923096928705759144302325", - "16055052215912926403164558682533278933518124603384506647616720186625870372867", - "1" - ], - [ - "10610808074017274236947952765930252005116639779114158879106786968725592243684", - "7671742913687145209037761823969411792683583049858439139887877911509751057658", - "1" - ], - [ - "19573573343843071023372313695512762465067533761458715711343634116068133960793", - "10804759726920349984061008954923558679191390728689650000941045331420650211581", - "1" - ], - [ - "5718892343875260885646810564014097593831900510564153360691631833735918621922", - "19625601349877019059513350672441835825347413964694454283368396699203302112641", - "1" - ], - [ - "17307990529150693210709322957072714804583174025000604461211407702857003931209", - "878943824392207542314091105918684915537006706374524180092127487257207923392", - "1" - ], - [ - "5300465178852377029624865156926876561044162413284703918440541317037871183286", - "2915305225397411194819272200797185193292182665741238385087952771727267597912", - "1" - ], - [ - "9612880527467467068262006535491148962364353213124736729187536416888293209040", - "3691954621663688303277327224518417341158474651376667361300715930069929949328", - "1" - ], - [ - "4659570938283906290187099509474824502769017396752042854687823331171116966970", - "1982129089326682353432961132621675691495027987286282104478652337270349755786", - "1" - ], - [ - "9171669747307433455738879483524091533377393831008081692349023733885425842533", - "14669324918730023540806349394380936953692102382177094137706966731531850185803", - "1" - ], - [ - "8483294380952291849397541046823929049822671375665974488330551974691931088249", - "1118822438360952001976652032058766697856113279956390161343914269934471806948", - "1" - ], - [ - "16954932008548591797390692453664155464993616761337408187450399031436068691451", - "6516092349871725883853494482885384994943299298314659902835087366050305733157", - "1" - ], - [ - "20430623878625162966436844654973340404250438949453265942184796279721889554820", - "15872908111081564877987885319993945765058637105045568563559776178765096589967", - "1" - ], - [ - "175869145740468538971598041440955295445778770215511329335724056103936702436", - "1330941033907902700992214800125843240733815089710216278151743962437271604780", - "1" - ], - [ - "12355335036350381959316132638698183510834366979584100346299938102486333409651", - "4337197899687019529242916561241789784321321108925457005094595191731218061427", - "1" - ], - [ - "11278959974421454971056650663355901207164530384695376373432274315213283549762", - "842554942909243186167969515896707366900091987841678552053050312967563820752", - "1" - ], - [ - "16572128460468464946178932017061778626056300216656975648812312257038874108983", - "7496524676544202112869579855832101560057601523534017922081999640502666099689", - "1" - ], - [ - "19105814082294493715744150358143204382795031020497306458203104403838835752024", - "19715005188048319300645177575714392862985133403160061825416709189094450469753", - "1" - ], - [ - "7636982228945323104243940147526887215043114989501502228623732711434331508800", - "13982738495464494120120460721815986042347354712549997051203158421962713433676", - "1" - ], - [ - "7212703893248058395965164342811600518101083790353044441060046803166922457817", - "15288762786599409245379182027975288580639251667570444798242660670608705209235", - "1" - ], - [ - "11337214755796827361301185036423160584799766990991395953495475417562574313330", - "14282192223568265545782851423843119832895522296025493914034676871057884314807", - "1" - ], - [ - "20746519986905068147748204516567545274983109465248753666405436157746830920177", - "5984414899536508968217223729861686103766469456226858624560779213690681060402", - "1" - ], - [ - "10835401963264758836309175755802257634401811007884975246749069652194030956375", - "20233076666563354044232367680463639678769479105556538410861254285658708703420", - "1" - ], - [ - "243822971707479905147982175532573823409429573088000966949247818912169577321", - "18374229255728581891524420253592041272334490428059631108193678882576242302072", - "1" - ], - [ - "16665621857935932261398090194052412477034502749265485109104610789248649096930", - "4394568938787258691701414254311253333292906501134431595510892416905933008608", - "1" - ], - [ - "9950357876444140202359316333055625078754640885945343863436247592237465119463", - "1138728549048290935207405656653273985530868679095638406347317405009163625829", - "1" - ], - [ - "19863557297411049209678228567424529354877434574079354325913524832101308332526", - "8527626429667860262263355611120470385865138889073590553527605186068830407217", - "1" - ], - [ - "6454931913100737965253376358003045929798488773714456992517887361620467712565", - "5326712240024551961475028927056696314978192616898138298267505948927925263882", - "1" - ], - [ - "15042250519748559882627540875078570819853921036848032840277256701118024280589", - "5649902159571578160463121956645683130679194527097684396257161957099165347806", - "1" - ], - [ - "15096897533276062914425200316068732590699959101665592000874713484494800830431", - "20313177966458554724734066811247575256604932796826056754597405446083708154473", - "1" - ], - [ - "17124672994386643376379203570239948164006585373341602602872802697337228865536", - "1034249982625145986964431636683948940121344443741095836073135426238098732767", - "1" - ], - [ - "6786329514687183326195953834745659119650827869829843528091866552166007413531", - "1993645881458801646027317410951338279337068483818691999503849794459167818711", - "1" - ], - [ - "5601166702091586493063206062643823571727623876835658007413482777129841428409", - "5037705200482483083573800351985604926878171687751572424052471739482784122326", - "1" - ], - [ - "12517743032864053125136342570911419464259163379595553834414011868353108191599", - "15318308882908411135628870052674621303091373949504950064687713217509534263616", - "1" - ], - [ - "2720076584159722030644911803109842442973174751015986695246040593821498987517", - "6073106188050137778500476835712188492016074470565039712583218556941277893695", - "1" - ], - [ - "6072412759015559745976615160843960952517043392197448868050821137463119699799", - "11697820246239769847517681526356370124485294496334591385652822729517455816263", - "1" - ], - [ - "14218939431514583760169339971126914781164242455722086424744905020963433287253", - "1239871915323004456937785384528292474791919374060128150903363984409371850053", - "1" - ], - [ - "8387324433281274425414022898278760672945100111518697527852082193344751454886", - "5589006578670031279992593208025532258965044721350145546467657955535328825951", - "1" - ], - [ - "21615450483089399676059755315641193001798326355023690261884634016377584537760", - "10956155007380443561435691838052280090538388505191022308074967521520083662819", - "1" - ], - [ - "216446200713786284729733446575921700734085159824299226438396861091476902009", - "13844554435458360555419931531505822549409871042801949625799040630213897945120", - "1" - ], - [ - "9845971582412603975624980875697041252601141575674463764818906420682062211318", - "1541017164427640523004714101054634990123563920021310542692226961701567976926", - "1" - ], - [ - "1204229363117598338427021726830976171601871025347145772643221171662262684058", - "3690138767954927564625982017409119462210512389179169664323854093643671574661", - "1" - ], - [ - "17447195784314061576734074992306359578375369517939049547706017414211939990948", - "5224769475162921324539668905049572257714496627544607906446249174566771227829", - "1" - ], - [ - "13126571971650265371015826140101898742548802556718166762709215223240837280512", - "4690349372257300850033015163519866378891105455880081651346259355150267250533", - "1" - ], - [ - "21063429119858892196984159725113911698991549202459080500178175790766238358869", - "7912342920305948383152463874981556321577003229794067565185588863006975486779", - "1" - ], - [ - "1617209403466779091458035238367795741637095004483882576008873822959780975681", - "11949429827523506994129552860898322068244208587609870060632189121669082060574", - "1" - ], - [ - "17419887907072158078351093176677693169251831632205134986750364946088731582087", - "9178252111851939224017025851693510236346605583176672118134620364375005187172", - "1" - ], - [ - "15309663281578759488226592812361926542424721970055480411147967135175426869247", - "13088871215177201383996211899405549173916825387544384325828612069408611872675", - "1" + "protocol": "groth16", + "curve": "bn128", + "nPublic": 77, + "vk_alpha_1": [ + "20491192805390485299153009773594534940189261866228447918068658471970481763042", + "9383485363053290200918347156157836566562967994039712273449902621266178545958", + "1" + ], + "vk_beta_2": [ + [ + "6375614351688725206403948262868962793625744043794305715222011528459656738731", + "4252822878758300859123897981450591353533073413197771768651442665752259397132" + ], + [ + "10505242626370262277552901082094356697409835680220590971873171140371331206856", + "21847035105528745403288232691147584728191162732299865338377159692350059136679" + ], + ["1", "0"] + ], + "vk_gamma_2": [ + [ + "10857046999023057135944570762232829481370756359578518086990519993285655852781", + "11559732032986387107991004021392285783925812861821192530917403151452391805634" + ], + [ + "8495653923123431417604973247489272438418190587263600148770280649306958101930", + "4082367875863433681332203403145435568316851327593401208105741076214120093531" + ], + ["1", "0"] + ], + "vk_delta_2": [ + [ + "1644379255755665639524620157273694289299700443812573873382829766089313318860", + "7556188580549660317988384269627745620737293209908047921156248879248956624707" + ], + [ + "4152535282542204467329585116559762832011400698522986966067931095980290970188", + "16189055543084045005292506154593172627834306869372118812851261475395122300622" + ], + ["1", "0"] + ], + "vk_alphabeta_12": [ + [ + [ + "2029413683389138792403550203267699914886160938906632433982220835551125967885", + "21072700047562757817161031222997517981543347628379360635925549008442030252106" + ], + [ + "5940354580057074848093997050200682056184807770593307860589430076672439820312", + "12156638873931618554171829126792193045421052652279363021382169897324752428276" + ], + [ + "7898200236362823042373859371574133993780991612861777490112507062703164551277", + "7074218545237549455313236346927434013100842096812539264420499035217050630853" + ] + ], + [ + [ + "7077479683546002997211712695946002074877511277312570035766170199895071832130", + "10093483419865920389913245021038182291233451549023025229112148274109565435465" + ], + [ + "4595479056700221319381530156280926371456704509942304414423590385166031118820", + "19831328484489333784475432780421641293929726139240675179672856274388269393268" + ], + [ + "11934129596455521040620786944827826205713621633706285934057045369193958244500", + "8037395052364110730298837004334506829870972346962140206007064471173334027475" + ] + ] + ], + "IC": [ + [ + "18422857078372859553191448164294665542345065709653989973175579679294287359551", + "19200412732094068217443600300610712526816543050849771388672029576371853469584", + "1" + ], + [ + "8966723725809147921162750050376358833176377832917899053889677861860829963550", + "11341153581665210400343795342393322577490484170009235286254673614120878647101", + "1" + ], + [ + "9879865539447750277224788967575737948914682182107587045349147439108894751377", + "21453364078164924208802775510032568576822274174182360910595757742538922255516", + "1" + ], + [ + "17271376920492004526143567349281665569798920608192890900207570109619938357965", + "17658645521956741541229716428562791784745065800560561182268097024675562826941", + "1" + ], + [ + "19447905090608570348274226795081943117318789418973470654210086113107653241278", + "3042974824199824823166471398866477356543673808199912551478342128204368365801", + "1" + ], + [ + "15156321942657123795505661861540145354490508397591060397451108946953030754823", + "2174001979857398238020783370627974461537581724230646957383343539261668427900", + "1" + ], + [ + "2893784367520422410222380456081140868086719201082394136439924349009961441119", + "6701132256860531139366218617785973102272561389281339326001731135503450776817", + "1" + ], + [ + "2682959541435350505256066121391007731952110231233962493700272969732411696733", + "17209169979288623728661647278876944748718715772457044973402738622703306817989", + "1" + ], + [ + "499562621835133157087010512036306131395989534601985940081517169655947305794", + "16171076175966316991086493265714063940602842446350652041818239810706021681879", + "1" + ], + [ + "5132244909724750316498584905084137056169137672686304456145214374629023392472", + "6546991859900461714197094468917430881377836500486013407027474610681775159396", + "1" + ], + [ + "2668576684563152354350259868353189824258528180056497740408480383980454734066", + "1535738486247883392173175472896261157323461087865457493262219315347601667500", + "1" + ], + [ + "10785473402637955729291841575016422918107164425021911175421942675184558968090", + "11345810119385896301851632457198739313674262335948445894527389358734712913516", + "1" + ], + [ + "1412993008080518728455375349826306781032689703676503984254325722611846888434", + "19781302125889607635883414978668480814071954491775541599692924120980145899599", + "1" + ], + [ + "2543531439810734534018065629410144813897832425457328128967847888580078363455", + "8290575017821769892134912565219366777438869089694072485822723325342666816008", + "1" + ], + [ + "1002922190610148990099887492211004813681538196842215269979191666109888959814", + "20619964733250977362581881412991948675311360234768187166450914392005451730358", + "1" + ], + [ + "15870912960135403856400514545374914694476998269086073865385158549754145963771", + "20684949892083599847849427854173962987156046683062436388401257024101668208599", + "1" + ], + [ + "8831502501719650739624882314498213905138374744030524531789511798263213692297", + "12841757675802823212324373320135070019627481835282469830860284467661624632496", + "1" + ], + [ + "11024979320888031984055829947181451956336570558598363948579563194733939622287", + "18997905406534827287278617121302620290169563192770621622363184450430351660574", + "1" + ], + [ + "16869449048007600468318897118524861382044610982428636771901906750236031314195", + "15438052670706503878189305795226519679700087347809533390683372366897495253782", + "1" + ], + [ + "15918279260795292593956401668763734193558830697313388423850914871334250125739", + "8390709997430195886659648328077505730920457894542918693342626584476768467556", + "1" + ], + [ + "10798377190077256499154897763066112669971641940307492798780438616745102850691", + "3612173055981570065938518906067521507588334568151689656355953453603129645964", + "1" + ], + [ + "10283501512088874941321977823410512484354301327524005689289271531565943800039", + "3413727085936726278666795560940572030581500988023163312691493343929115927124", + "1" + ], + [ + "2296275912278297097224081815998877707798340371647976495099500783107062881957", + "9398410071944512098160808850726511894933677864547346561538382995776881905238", + "1" + ], + [ + "16894600684081728341321342508855178930751254711101008689080082374710936127272", + "12161453909477382567743014045075508805093784837270549401954931244139597225085", + "1" + ], + [ + "6268487288856125630650511644329678106052302875119583489182428159711946592368", + "5841252196480850530373191299721977191681750934584486469365944205706179548638", + "1" + ], + [ + "6852882622300147668192439693377660004185303019132689479493632664567357096830", + "10882891395088061300220569909151852301817335367848038253676795263334452296409", + "1" + ], + [ + "15198590029135566791939530181694358354001166637744293674348864120420627936109", + "9367773651339063637980144228320691148645080564385341249114902167341421601663", + "1" + ], + [ + "11703644592499513786125973700632933001103077563618529422619953827430371965059", + "15268256030107099411721655429931816597474879602558228384538893152110835355985", + "1" + ], + [ + "12524529491165694702027137268186075636174656025287741413565496343080631508399", + "9372786123977825789042012545805363579046088706709621468746585656937388381431", + "1" + ], + [ + "273518393549043472687837864184789086758030869752905336300136035955706181307", + "6816952832511221459658135400694225067096307534852277283270887023904178709525", + "1" + ], + [ + "1645523311170082397413986203809923280266656698291914513085993238167303820895", + "13658793807208210506708310931635228156814129276176152104446631399468550574710", + "1" + ], + [ + "11390639911376397182713391277480364588913655592454794923096928705759144302325", + "16055052215912926403164558682533278933518124603384506647616720186625870372867", + "1" + ], + [ + "10610808074017274236947952765930252005116639779114158879106786968725592243684", + "7671742913687145209037761823969411792683583049858439139887877911509751057658", + "1" + ], + [ + "19573573343843071023372313695512762465067533761458715711343634116068133960793", + "10804759726920349984061008954923558679191390728689650000941045331420650211581", + "1" + ], + [ + "5718892343875260885646810564014097593831900510564153360691631833735918621922", + "19625601349877019059513350672441835825347413964694454283368396699203302112641", + "1" + ], + [ + "17307990529150693210709322957072714804583174025000604461211407702857003931209", + "878943824392207542314091105918684915537006706374524180092127487257207923392", + "1" + ], + [ + "5300465178852377029624865156926876561044162413284703918440541317037871183286", + "2915305225397411194819272200797185193292182665741238385087952771727267597912", + "1" + ], + [ + "9612880527467467068262006535491148962364353213124736729187536416888293209040", + "3691954621663688303277327224518417341158474651376667361300715930069929949328", + "1" + ], + [ + "4659570938283906290187099509474824502769017396752042854687823331171116966970", + "1982129089326682353432961132621675691495027987286282104478652337270349755786", + "1" + ], + [ + "9171669747307433455738879483524091533377393831008081692349023733885425842533", + "14669324918730023540806349394380936953692102382177094137706966731531850185803", + "1" + ], + [ + "8483294380952291849397541046823929049822671375665974488330551974691931088249", + "1118822438360952001976652032058766697856113279956390161343914269934471806948", + "1" + ], + [ + "16954932008548591797390692453664155464993616761337408187450399031436068691451", + "6516092349871725883853494482885384994943299298314659902835087366050305733157", + "1" + ], + [ + "20430623878625162966436844654973340404250438949453265942184796279721889554820", + "15872908111081564877987885319993945765058637105045568563559776178765096589967", + "1" + ], + [ + "175869145740468538971598041440955295445778770215511329335724056103936702436", + "1330941033907902700992214800125843240733815089710216278151743962437271604780", + "1" + ], + [ + "12355335036350381959316132638698183510834366979584100346299938102486333409651", + "4337197899687019529242916561241789784321321108925457005094595191731218061427", + "1" + ], + [ + "11278959974421454971056650663355901207164530384695376373432274315213283549762", + "842554942909243186167969515896707366900091987841678552053050312967563820752", + "1" + ], + [ + "16572128460468464946178932017061778626056300216656975648812312257038874108983", + "7496524676544202112869579855832101560057601523534017922081999640502666099689", + "1" + ], + [ + "19105814082294493715744150358143204382795031020497306458203104403838835752024", + "19715005188048319300645177575714392862985133403160061825416709189094450469753", + "1" + ], + [ + "7636982228945323104243940147526887215043114989501502228623732711434331508800", + "13982738495464494120120460721815986042347354712549997051203158421962713433676", + "1" + ], + [ + "7212703893248058395965164342811600518101083790353044441060046803166922457817", + "15288762786599409245379182027975288580639251667570444798242660670608705209235", + "1" + ], + [ + "11337214755796827361301185036423160584799766990991395953495475417562574313330", + "14282192223568265545782851423843119832895522296025493914034676871057884314807", + "1" + ], + [ + "20746519986905068147748204516567545274983109465248753666405436157746830920177", + "5984414899536508968217223729861686103766469456226858624560779213690681060402", + "1" + ], + [ + "10835401963264758836309175755802257634401811007884975246749069652194030956375", + "20233076666563354044232367680463639678769479105556538410861254285658708703420", + "1" + ], + [ + "243822971707479905147982175532573823409429573088000966949247818912169577321", + "18374229255728581891524420253592041272334490428059631108193678882576242302072", + "1" + ], + [ + "16665621857935932261398090194052412477034502749265485109104610789248649096930", + "4394568938787258691701414254311253333292906501134431595510892416905933008608", + "1" + ], + [ + "9950357876444140202359316333055625078754640885945343863436247592237465119463", + "1138728549048290935207405656653273985530868679095638406347317405009163625829", + "1" + ], + [ + "19863557297411049209678228567424529354877434574079354325913524832101308332526", + "8527626429667860262263355611120470385865138889073590553527605186068830407217", + "1" + ], + [ + "6454931913100737965253376358003045929798488773714456992517887361620467712565", + "5326712240024551961475028927056696314978192616898138298267505948927925263882", + "1" + ], + [ + "15042250519748559882627540875078570819853921036848032840277256701118024280589", + "5649902159571578160463121956645683130679194527097684396257161957099165347806", + "1" + ], + [ + "15096897533276062914425200316068732590699959101665592000874713484494800830431", + "20313177966458554724734066811247575256604932796826056754597405446083708154473", + "1" + ], + [ + "17124672994386643376379203570239948164006585373341602602872802697337228865536", + "1034249982625145986964431636683948940121344443741095836073135426238098732767", + "1" + ], + [ + "6786329514687183326195953834745659119650827869829843528091866552166007413531", + "1993645881458801646027317410951338279337068483818691999503849794459167818711", + "1" + ], + [ + "5601166702091586493063206062643823571727623876835658007413482777129841428409", + "5037705200482483083573800351985604926878171687751572424052471739482784122326", + "1" + ], + [ + "12517743032864053125136342570911419464259163379595553834414011868353108191599", + "15318308882908411135628870052674621303091373949504950064687713217509534263616", + "1" + ], + [ + "2720076584159722030644911803109842442973174751015986695246040593821498987517", + "6073106188050137778500476835712188492016074470565039712583218556941277893695", + "1" + ], + [ + "6072412759015559745976615160843960952517043392197448868050821137463119699799", + "11697820246239769847517681526356370124485294496334591385652822729517455816263", + "1" + ], + [ + "14218939431514583760169339971126914781164242455722086424744905020963433287253", + "1239871915323004456937785384528292474791919374060128150903363984409371850053", + "1" + ], + [ + "8387324433281274425414022898278760672945100111518697527852082193344751454886", + "5589006578670031279992593208025532258965044721350145546467657955535328825951", + "1" + ], + [ + "21615450483089399676059755315641193001798326355023690261884634016377584537760", + "10956155007380443561435691838052280090538388505191022308074967521520083662819", + "1" + ], + [ + "216446200713786284729733446575921700734085159824299226438396861091476902009", + "13844554435458360555419931531505822549409871042801949625799040630213897945120", + "1" + ], + [ + "9845971582412603975624980875697041252601141575674463764818906420682062211318", + "1541017164427640523004714101054634990123563920021310542692226961701567976926", + "1" + ], + [ + "1204229363117598338427021726830976171601871025347145772643221171662262684058", + "3690138767954927564625982017409119462210512389179169664323854093643671574661", + "1" + ], + [ + "17447195784314061576734074992306359578375369517939049547706017414211939990948", + "5224769475162921324539668905049572257714496627544607906446249174566771227829", + "1" + ], + [ + "13126571971650265371015826140101898742548802556718166762709215223240837280512", + "4690349372257300850033015163519866378891105455880081651346259355150267250533", + "1" + ], + [ + "21063429119858892196984159725113911698991549202459080500178175790766238358869", + "7912342920305948383152463874981556321577003229794067565185588863006975486779", + "1" + ], + [ + "1617209403466779091458035238367795741637095004483882576008873822959780975681", + "11949429827523506994129552860898322068244208587609870060632189121669082060574", + "1" + ], + [ + "17419887907072158078351093176677693169251831632205134986750364946088731582087", + "9178252111851939224017025851693510236346605583176672118134620364375005187172", + "1" + ], + [ + "15309663281578759488226592812361926542424721970055480411147967135175426869247", + "13088871215177201383996211899405549173916825387544384325828612069408611872675", + "1" + ] ] - ] } diff --git a/packages/snap/assets/circuits/credentialAtomicQueryMTPV2OnChain/verification_key.json b/packages/snap/assets/circuits/credentialAtomicQueryMTPV2OnChain/verification_key.json index c5b31fc4..a7ac13b7 100644 --- a/packages/snap/assets/circuits/credentialAtomicQueryMTPV2OnChain/verification_key.json +++ b/packages/snap/assets/circuits/credentialAtomicQueryMTPV2OnChain/verification_key.json @@ -1,144 +1,135 @@ { - "protocol": "groth16", - "curve": "bn128", - "nPublic": 11, - "vk_alpha_1": [ - "20491192805390485299153009773594534940189261866228447918068658471970481763042", - "9383485363053290200918347156157836566562967994039712273449902621266178545958", - "1" - ], - "vk_beta_2": [ - [ - "6375614351688725206403948262868962793625744043794305715222011528459656738731", - "4252822878758300859123897981450591353533073413197771768651442665752259397132" - ], - [ - "10505242626370262277552901082094356697409835680220590971873171140371331206856", - "21847035105528745403288232691147584728191162732299865338377159692350059136679" - ], - [ - "1", - "0" - ] - ], - "vk_gamma_2": [ - [ - "10857046999023057135944570762232829481370756359578518086990519993285655852781", - "11559732032986387107991004021392285783925812861821192530917403151452391805634" - ], - [ - "8495653923123431417604973247489272438418190587263600148770280649306958101930", - "4082367875863433681332203403145435568316851327593401208105741076214120093531" - ], - [ - "1", - "0" - ] - ], - "vk_delta_2": [ - [ - "21107007358082136795614874512538836487771939470796762405748007366166733704104", - "10069053650952764050770858763214373754669660210324204774418789033662943009749" - ], - [ - "8559222867245112767064473074858818732424559824983124225374445082554790506808", - "4852486786898691455964846082763016922630372558821263656172370355988314898575" - ], - [ - "1", - "0" - ] - ], - "vk_alphabeta_12": [ - [ - [ - "2029413683389138792403550203267699914886160938906632433982220835551125967885", - "21072700047562757817161031222997517981543347628379360635925549008442030252106" - ], - [ - "5940354580057074848093997050200682056184807770593307860589430076672439820312", - "12156638873931618554171829126792193045421052652279363021382169897324752428276" - ], - [ - "7898200236362823042373859371574133993780991612861777490112507062703164551277", - "7074218545237549455313236346927434013100842096812539264420499035217050630853" - ] - ], - [ - [ - "7077479683546002997211712695946002074877511277312570035766170199895071832130", - "10093483419865920389913245021038182291233451549023025229112148274109565435465" - ], - [ - "4595479056700221319381530156280926371456704509942304414423590385166031118820", - "19831328484489333784475432780421641293929726139240675179672856274388269393268" - ], - [ - "11934129596455521040620786944827826205713621633706285934057045369193958244500", - "8037395052364110730298837004334506829870972346962140206007064471173334027475" - ] - ] - ], - "IC": [ - [ - "1313452981527053129337572951247197324361989034671138626745310268341512913566", - "15303507074060980322389491486850010383524156520378503449579570642767442684301", - "1" - ], - [ - "19469759548582862041953210077461806234755067239635831761330214958262728102210", - "16182855449814336395630220912227600929619756764754084585163045607249874698864", - "1" - ], - [ - "5328220111696630739082100852965753471276442277347833726730125705096477686086", - "18905255288005092837452154631677141443252188654645540166408868771529766552954", - "1" - ], - [ - "10933184819912527903586676306361564765563053120720138042486726178048079682568", - "18280626518907496130958526005677563160967544228407334084744886760261543167298", - "1" - ], - [ - "11558797904750992453617754478260603596631069504995139547656018378652112039786", - "7387560020132856716152855364841368262707029595898949014465420811988605836841", - "1" - ], - [ - "258345740540242369340676522345540363903777759573849221853370493977314124714", - "8261745575084416750025555445617776886593428107172740509334601364674159098729", - "1" - ], - [ - "12229618381132244012134195568281704584580345418094236823704672151870483088680", - "19652481126909183227792433955062439643525977794731426347743513078747968248518", - "1" - ], - [ - "21501269229626602828017941470237394838663343517747470934919163514713566489074", - "10918047203423236169474519778878366520860074771272087858656960949070403283927", - "1" - ], - [ - "560417708851693272956571111854350209791303214876197214262570647517120871869", - "188344482860559912840076092213437046073780559836275799283864998836054113147", - "1" - ], - [ - "12941763790218889190383140140219843141955553218417052891852216993045901023120", - "12682291388476462975465775054567905896202239758296039216608811622228355512204", - "1" - ], - [ - "11112576039136275785110528933884279009037779878785871940581425517795519742410", - "6613377654128709188004788921975143848004552607600543819185067176149822253345", - "1" - ], - [ - "13613305841160720689914712433320508347546323189059844660259139894452538774575", - "5325101314795154200638690464360192908052407201796948025470533168336651686116", - "1" + "protocol": "groth16", + "curve": "bn128", + "nPublic": 11, + "vk_alpha_1": [ + "20491192805390485299153009773594534940189261866228447918068658471970481763042", + "9383485363053290200918347156157836566562967994039712273449902621266178545958", + "1" + ], + "vk_beta_2": [ + [ + "6375614351688725206403948262868962793625744043794305715222011528459656738731", + "4252822878758300859123897981450591353533073413197771768651442665752259397132" + ], + [ + "10505242626370262277552901082094356697409835680220590971873171140371331206856", + "21847035105528745403288232691147584728191162732299865338377159692350059136679" + ], + ["1", "0"] + ], + "vk_gamma_2": [ + [ + "10857046999023057135944570762232829481370756359578518086990519993285655852781", + "11559732032986387107991004021392285783925812861821192530917403151452391805634" + ], + [ + "8495653923123431417604973247489272438418190587263600148770280649306958101930", + "4082367875863433681332203403145435568316851327593401208105741076214120093531" + ], + ["1", "0"] + ], + "vk_delta_2": [ + [ + "21107007358082136795614874512538836487771939470796762405748007366166733704104", + "10069053650952764050770858763214373754669660210324204774418789033662943009749" + ], + [ + "8559222867245112767064473074858818732424559824983124225374445082554790506808", + "4852486786898691455964846082763016922630372558821263656172370355988314898575" + ], + ["1", "0"] + ], + "vk_alphabeta_12": [ + [ + [ + "2029413683389138792403550203267699914886160938906632433982220835551125967885", + "21072700047562757817161031222997517981543347628379360635925549008442030252106" + ], + [ + "5940354580057074848093997050200682056184807770593307860589430076672439820312", + "12156638873931618554171829126792193045421052652279363021382169897324752428276" + ], + [ + "7898200236362823042373859371574133993780991612861777490112507062703164551277", + "7074218545237549455313236346927434013100842096812539264420499035217050630853" + ] + ], + [ + [ + "7077479683546002997211712695946002074877511277312570035766170199895071832130", + "10093483419865920389913245021038182291233451549023025229112148274109565435465" + ], + [ + "4595479056700221319381530156280926371456704509942304414423590385166031118820", + "19831328484489333784475432780421641293929726139240675179672856274388269393268" + ], + [ + "11934129596455521040620786944827826205713621633706285934057045369193958244500", + "8037395052364110730298837004334506829870972346962140206007064471173334027475" + ] + ] + ], + "IC": [ + [ + "1313452981527053129337572951247197324361989034671138626745310268341512913566", + "15303507074060980322389491486850010383524156520378503449579570642767442684301", + "1" + ], + [ + "19469759548582862041953210077461806234755067239635831761330214958262728102210", + "16182855449814336395630220912227600929619756764754084585163045607249874698864", + "1" + ], + [ + "5328220111696630739082100852965753471276442277347833726730125705096477686086", + "18905255288005092837452154631677141443252188654645540166408868771529766552954", + "1" + ], + [ + "10933184819912527903586676306361564765563053120720138042486726178048079682568", + "18280626518907496130958526005677563160967544228407334084744886760261543167298", + "1" + ], + [ + "11558797904750992453617754478260603596631069504995139547656018378652112039786", + "7387560020132856716152855364841368262707029595898949014465420811988605836841", + "1" + ], + [ + "258345740540242369340676522345540363903777759573849221853370493977314124714", + "8261745575084416750025555445617776886593428107172740509334601364674159098729", + "1" + ], + [ + "12229618381132244012134195568281704584580345418094236823704672151870483088680", + "19652481126909183227792433955062439643525977794731426347743513078747968248518", + "1" + ], + [ + "21501269229626602828017941470237394838663343517747470934919163514713566489074", + "10918047203423236169474519778878366520860074771272087858656960949070403283927", + "1" + ], + [ + "560417708851693272956571111854350209791303214876197214262570647517120871869", + "188344482860559912840076092213437046073780559836275799283864998836054113147", + "1" + ], + [ + "12941763790218889190383140140219843141955553218417052891852216993045901023120", + "12682291388476462975465775054567905896202239758296039216608811622228355512204", + "1" + ], + [ + "11112576039136275785110528933884279009037779878785871940581425517795519742410", + "6613377654128709188004788921975143848004552607600543819185067176149822253345", + "1" + ], + [ + "13613305841160720689914712433320508347546323189059844660259139894452538774575", + "5325101314795154200638690464360192908052407201796948025470533168336651686116", + "1" + ] ] - ] } diff --git a/packages/snap/assets/circuits/credentialAtomicQuerySigV2/verification_key.json b/packages/snap/assets/circuits/credentialAtomicQuerySigV2/verification_key.json index a532893b..471b1d85 100644 --- a/packages/snap/assets/circuits/credentialAtomicQuerySigV2/verification_key.json +++ b/packages/snap/assets/circuits/credentialAtomicQuerySigV2/verification_key.json @@ -1,474 +1,465 @@ { - "protocol": "groth16", - "curve": "bn128", - "nPublic": 77, - "vk_alpha_1": [ - "20491192805390485299153009773594534940189261866228447918068658471970481763042", - "9383485363053290200918347156157836566562967994039712273449902621266178545958", - "1" - ], - "vk_beta_2": [ - [ - "6375614351688725206403948262868962793625744043794305715222011528459656738731", - "4252822878758300859123897981450591353533073413197771768651442665752259397132" - ], - [ - "10505242626370262277552901082094356697409835680220590971873171140371331206856", - "21847035105528745403288232691147584728191162732299865338377159692350059136679" - ], - [ - "1", - "0" - ] - ], - "vk_gamma_2": [ - [ - "10857046999023057135944570762232829481370756359578518086990519993285655852781", - "11559732032986387107991004021392285783925812861821192530917403151452391805634" - ], - [ - "8495653923123431417604973247489272438418190587263600148770280649306958101930", - "4082367875863433681332203403145435568316851327593401208105741076214120093531" - ], - [ - "1", - "0" - ] - ], - "vk_delta_2": [ - [ - "94086484245612286241184073311986077918425211631674599706523220655149342939", - "9066276963657894725757757487225537372173116727614372653696187043001221518998" - ], - [ - "3327364283265612114403912214795791325281389316262923243431510926287241284864", - "14359594691603603310505775002171568388983231776478551485379790891637661560036" - ], - [ - "1", - "0" - ] - ], - "vk_alphabeta_12": [ - [ - [ - "2029413683389138792403550203267699914886160938906632433982220835551125967885", - "21072700047562757817161031222997517981543347628379360635925549008442030252106" - ], - [ - "5940354580057074848093997050200682056184807770593307860589430076672439820312", - "12156638873931618554171829126792193045421052652279363021382169897324752428276" - ], - [ - "7898200236362823042373859371574133993780991612861777490112507062703164551277", - "7074218545237549455313236346927434013100842096812539264420499035217050630853" - ] - ], - [ - [ - "7077479683546002997211712695946002074877511277312570035766170199895071832130", - "10093483419865920389913245021038182291233451549023025229112148274109565435465" - ], - [ - "4595479056700221319381530156280926371456704509942304414423590385166031118820", - "19831328484489333784475432780421641293929726139240675179672856274388269393268" - ], - [ - "11934129596455521040620786944827826205713621633706285934057045369193958244500", - "8037395052364110730298837004334506829870972346962140206007064471173334027475" - ] - ] - ], - "IC": [ - [ - "82858741371846418102390975654111682337499684659569272071403747441178775094", - "4286912121744489803335872688967541084060786471335097977275283322008748340788", - "1" - ], - [ - "2949292283195261203307481545407020289663288337904117332935641624369320632240", - "4895868961372318516427313051068589418900672425971040539274101100343980810774", - "1" - ], - [ - "4283138832985371893627053916321257875901863688069679108552360851257151597412", - "12301445626126932387280175924125479080740113735715055950924670609729124190207", - "1" - ], - [ - "11403809675918608249249090476998815481360885938257614779638377601415472359725", - "10370383889744288167730128292551983273910856935841190320403487139321945926331", - "1" - ], - [ - "146046474957242547231947902105279535658945942556306365105970828598652582527", - "19316391077135032736180617854925909709408388622932141258157985352356274532963", - "1" - ], - [ - "19392288121313736624150032390760791125928224365133434019677559994823666881089", - "16678649776488360981633823784602747916355420844155287963893744273416034228821", - "1" - ], - [ - "17700244988293823646570920639274788254338288455367989082935279790186368535035", - "9321729693794775981089306312375631163270588069455137620052333218103779355408", - "1" - ], - [ - "6304242739428065891345661929109377623420995931327428546798256748327063014748", - "10780954993779202198998690148500166760839127869483280185479097694857479543720", - "1" - ], - [ - "15890615372155272172271387761362992284949685750813721764642195772457152019165", - "16926364370539068089248210833120023205713972276708964692683476649740531300907", - "1" - ], - [ - "8982718515991384638670171335434300220939254007691698916481977516501727365353", - "19933274338973273645600209826788464024915126306902861441259660444347103717011", - "1" - ], - [ - "13624813441697027269419893255557978801536200641544726966141640956028191608323", - "14568380736652140809608442081925020674177705472939839035342120687477258992462", - "1" - ], - [ - "7287001243757652147041978755465708957323122739823909998863775376965394099650", - "8194529377789992862935644002017654759465911480466382895596098893998234618850", - "1" - ], - [ - "15672609491810685215081462552663762421452118634631233092085621737595234267652", - "2904325643405367825992406778236164206511504644734317609359066533215328475457", - "1" - ], - [ - "915419396354435358079156433856200252628133349566107753168383098995762031654", - "7640503160883357453422046063266912192061137337928989362670501928245645451659", - "1" - ], - [ - "14233801682464959754511413505122573904411742927995284652060293502655728201014", - "16894634587173766457107177463154201142416235583146961458016001995514241600797", - "1" - ], - [ - "865637081385889540821011982382409477264012478881380726208863605069542609927", - "2851681816679478967076297609298375717665401236464133109800669778140378240569", - "1" - ], - [ - "14583623854715049637997176036159291974860261686624791798735868439140771963929", - "6184396208904580798818208852802256520753949645935054330532118256917410168729", - "1" - ], - [ - "7340832411020963493191281149327227244123195086114916154649774645956361514808", - "15074654768397897175094344665304877372038748718786237401937087336643412854581", - "1" - ], - [ - "19226322861612796019283465663964339481922670365980090908059633666493003526920", - "4784769513565224451763088600366892575717723263716353119873721504223139128187", - "1" - ], - [ - "4012352361946387705819729346828208464133226668583289635600033112445603056095", - "16057116501864906353475966636435162596350251241825748835463929049616401925621", - "1" - ], - [ - "17699015327677133433762523603786186670660923725134988336625372092121404781352", - "20779678450565816831584776337126804401686084032081969015904070067714797666579", - "1" - ], - [ - "7110239219642171000502622847102158151023059843711231146792904825853085995446", - "13160112334708882478456144620242292286930388110897910022916805337362636596223", - "1" - ], - [ - "18572966839469907925154251914990082086889869375548359485092736092666901883458", - "2717317841156606824568938974067202962925196229862100442399526546853487033983", - "1" - ], - [ - "18220496879414149572832879223762015215122990853285228408008689887370853115800", - "20936442965528445732757109001578889091199378707564445483449611217812774527300", - "1" - ], - [ - "12232077851023924549383437896602730279522249237260024995597446142400396114435", - "6563047663035805798395574221466154696714942622556424013116465603874844109521", - "1" - ], - [ - "12109591576870421145669126698637125260126292886167173093152618373092533930060", - "4838150475568627509687345029028244688244087639289765225238388542584247749631", - "1" - ], - [ - "11686953332615374166413400118993933874772588790879032818717674616364110119003", - "997777557714243682580030314729391031075903187098529888297775331753993942129", - "1" - ], - [ - "17856019272291166215824899590072473034447333075695359997293931405627546425641", - "20847076087560230989541971055803462020430493691416327989998676442287723694850", - "1" - ], - [ - "3719233446259090602031823947643646288707755415354997947878759420203354178997", - "8365343103859542659965068947238411148203250330874262347086737251125778319916", - "1" - ], - [ - "11510913293380810758607591029811272398780473934028209478267236534219159061926", - "21487940007144748529535209675246355785366971140524949831759963463815763342086", - "1" - ], - [ - "1320866581863043338512589290197401952944129485739535713341560521800016476945", - "2493558738654724256478579784099858256156921863307444062868905210334526715644", - "1" - ], - [ - "17921519492985568040647785518984679305231500205599581370398502174410641627915", - "7509747881493316986520702491460493363464636273816319210975041613994864176359", - "1" - ], - [ - "3430712548343353484542829031470422149014035558383953986112467142255149482517", - "14550495557052814428641743686592474039195116676265817238933308829823014113648", - "1" - ], - [ - "15404982231804436812797545928371130848106957647851884888070752463417657014850", - "4611196330294175143659018144962441564350289800068036864557333922145119754928", - "1" - ], - [ - "15263701692315698223820596911784671235943493678301007311780033091137667408294", - "604902718763398072835765087427553474161374630152901938069702903322739720901", - "1" - ], - [ - "20244489449718281224771972382454688977944613519370226595741543942193818865707", - "19005325000779061572105038900407210855167193186325179384744370456674531846752", - "1" - ], - [ - "17905734409676470389691612532757732246970469909527519932162818478447075527708", - "14786147027096263915511297996292826847659087062694857723516642286999030404099", - "1" - ], - [ - "13170413525057177027118218806689559566136892856728098698757124284101508780041", - "21138656039297587744247525334341823578219773225144796878223492790449265984236", - "1" - ], - [ - "17336985422666489495917434298152259228601087998778158909593038947037047437034", - "17640592272124615371604215593775167886611551365178888179149933534238084536035", - "1" - ], - [ - "13115497681355919008843671294553575734811415225866638680245661303800809177454", - "11101396909544211706087319187611419845994320778819031170997345351820871301500", - "1" - ], - [ - "5062223967757742841418833629304894504824711871486969640422734949713212037564", - "5995745391558201393058938510743066155455293405187491263678494062578649392537", - "1" - ], - [ - "10769448662035944503588756967807107248531839233480897019708757162346507533856", - "17683311668907780400377940051769789887732541265829205574046296993672760170234", - "1" - ], - [ - "18909222506084760520118400904387222253545995580483849260301107047056625024809", - "4739939423481558802886855387063931149245914588665635776355445541037716874191", - "1" - ], - [ - "237258354423629009139604512345017099458104648744590151045267949108836136046", - "8398477677610482726525801716151367352299183871166696265021289782422497361573", - "1" - ], - [ - "21614899156845209369731734601334455382216240765307343061569649838763541939674", - "19737392631718395415895070591908882100913238716433370918711613904255554425863", - "1" - ], - [ - "11583018052272400568802079643913527066888050377899679393339799714495380661286", - "18731342198059952174455684263813783627914005022231316888089150078895916324047", - "1" - ], - [ - "1800355436595083773914109207841543211385162586213879300974211146987134123202", - "13948211457427522096477007682338343714710607448417503368661334375180794438646", - "1" - ], - [ - "12380151495516055715423974838724751018509187196044814610299179374420946317150", - "15604417067169603747798399311766223987091027902169069371143436781729299657321", - "1" - ], - [ - "15586796314575179431439068400563064768255110456857949233401991221744972388290", - "6869029658475871438252091552567541171158916510785162784566374960655529514541", - "1" - ], - [ - "9454259555969046405835114554840573800894460654638881697884905397762877591671", - "15649504506074833196199868121136622617218927420004842806076140919475722131828", - "1" - ], - [ - "10896479167947716665298047581223743449173173843441842077252741245744005867502", - "19466843112239886558867945418277977036987004293914397183376561940538353431523", - "1" - ], - [ - "21093729272413526398302027094496286062183285233963676469751711501691030254808", - "5616302988725848953380515455651462166436866513193168038457367334604897142643", - "1" - ], - [ - "9162526928276135317390642844528140151219934473125754385250619863694467527200", - "2704506477496217427068410968125378104897220198385366379780167188967641057115", - "1" - ], - [ - "2611703957607573998187347531547663551663457287415444888228409918854708173921", - "16503183711195222950599750913705688322318608987024302010766325034010085416942", - "1" - ], - [ - "11144191723062275260143093129552752703141874383079896857211309008338415817157", - "16781709265403451651508663495722707593571471440254748275969368360531033950981", - "1" - ], - [ - "16812964624232834362158259778644306304990898865384873094141859868591196349911", - "13922581405000464856568387775868339864861250228661168312914123793152293400444", - "1" - ], - [ - "7757513072166428505849658731723708923254564692050157984152317397804988815683", - "10596938418787218858764915380828895440118767426036644517687291298143168844310", - "1" - ], - [ - "776963606617916676505305527193906634173028085645966206654629945039284611047", - "10912266632936528293222094364131226803541316295737642239229481058897029295382", - "1" - ], - [ - "16373521723700098997684769703648529905132042031831109132237638798191456108024", - "11103461808206383275179890639579495748275557033587467729454195698739957928818", - "1" - ], - [ - "12824183511411995663633068443784430488868221252426812112737116307753322360649", - "16623259457237877334961209654722086328478084586497591770992246134732053248864", - "1" - ], - [ - "4440204567609318598244879167103963411704795015851735842148385354806120614776", - "439254538132916792300814825054431063060942088144912111780551400772555518726", - "1" - ], - [ - "12550163747027957708679416133057345303366416863124571412695635212042254660231", - "8088733548936346769418714493856651195585281586259855084725506021681259615995", - "1" - ], - [ - "601695970176955369889380617598670451586934521316364158397268786862817318324", - "8177591911722905772853175277543921812590123868553367351838538360889195534445", - "1" - ], - [ - "21420783745411266284334793892673128470907336626528172424997282710543407678562", - "815896668203600154924756799739505300427469299180041621997534085009087797462", - "1" - ], - [ - "5985108217900335996495740885137329434596043615956659372441003017431913541049", - "12400136587102116035870838109370183374536730415523630490626751552251898583723", - "1" - ], - [ - "19164864123547614924145477596845278488377820092261133057871046801697026504830", - "9058096638083409870599642989053208885699231157685473105338357045834902352657", - "1" - ], - [ - "5625208601612291266473410363212052500521534296123171244974430101397304128598", - "20032223272677310984797975395155189489741584704900355338539941675727215575834", - "1" - ], - [ - "19722119258760509259002736097441021306020824312273305874398252765749858625383", - "21476284183336273518938142350498253130780475874465538560639647841713873409967", - "1" - ], - [ - "16214582901276753122992657437576487460434296014671145602237720787074011098320", - "14638014587762532725758011227519785515588402732574136404578917712064567856285", - "1" - ], - [ - "21242009997783861714463438145352831066649780964520311892324662965942254722206", - "17000102442647549832409557151546317734552217997144722436132435910128720474199", - "1" - ], - [ - "3901540629460292660569097126645101425134163883949632616895230751480848213369", - "15462697656409662538566017032586328247938424512432827105504267029364730924622", - "1" - ], - [ - "13589690411326512053318122778970095131969288693012374077657080517788789407345", - "3256080065084142457753800788670092375263661907651111479712628200718368447047", - "1" - ], - [ - "80867775087231075346193177024922594793617447013874226020788299753946699495", - "18692751692376633351750143580480221941277275632746814828053833446777751678844", - "1" - ], - [ - "12208564838188569361021574820173956567515251256529477811689323941001064824558", - "14719028828276200987004700519998864320546393568625959778339171591168779343802", - "1" - ], - [ - "11487733918945328878091426687312208948265605735490434820651127086706421059773", - "12884027668625422693735810500338290593888443327897978424106732856151809328547", - "1" - ], - [ - "20632552305904865953323352410960265689821616276406781145263037394521803318607", - "2807465385289781642965528502072388424070031841212619812619243814164168949956", - "1" - ], - [ - "15762698488851251645720011145875054676705544433397646684075263620983096891945", - "1298669502852138604153414592011225832117552495360099510102598347062068301160", - "1" - ], - [ - "11129488032579072454261600806944244717606891316794143410356402368489165589130", - "17038312956321424279807397639106394935887287800511404015727988253317547071041", - "1" + "protocol": "groth16", + "curve": "bn128", + "nPublic": 77, + "vk_alpha_1": [ + "20491192805390485299153009773594534940189261866228447918068658471970481763042", + "9383485363053290200918347156157836566562967994039712273449902621266178545958", + "1" + ], + "vk_beta_2": [ + [ + "6375614351688725206403948262868962793625744043794305715222011528459656738731", + "4252822878758300859123897981450591353533073413197771768651442665752259397132" + ], + [ + "10505242626370262277552901082094356697409835680220590971873171140371331206856", + "21847035105528745403288232691147584728191162732299865338377159692350059136679" + ], + ["1", "0"] + ], + "vk_gamma_2": [ + [ + "10857046999023057135944570762232829481370756359578518086990519993285655852781", + "11559732032986387107991004021392285783925812861821192530917403151452391805634" + ], + [ + "8495653923123431417604973247489272438418190587263600148770280649306958101930", + "4082367875863433681332203403145435568316851327593401208105741076214120093531" + ], + ["1", "0"] + ], + "vk_delta_2": [ + [ + "94086484245612286241184073311986077918425211631674599706523220655149342939", + "9066276963657894725757757487225537372173116727614372653696187043001221518998" + ], + [ + "3327364283265612114403912214795791325281389316262923243431510926287241284864", + "14359594691603603310505775002171568388983231776478551485379790891637661560036" + ], + ["1", "0"] + ], + "vk_alphabeta_12": [ + [ + [ + "2029413683389138792403550203267699914886160938906632433982220835551125967885", + "21072700047562757817161031222997517981543347628379360635925549008442030252106" + ], + [ + "5940354580057074848093997050200682056184807770593307860589430076672439820312", + "12156638873931618554171829126792193045421052652279363021382169897324752428276" + ], + [ + "7898200236362823042373859371574133993780991612861777490112507062703164551277", + "7074218545237549455313236346927434013100842096812539264420499035217050630853" + ] + ], + [ + [ + "7077479683546002997211712695946002074877511277312570035766170199895071832130", + "10093483419865920389913245021038182291233451549023025229112148274109565435465" + ], + [ + "4595479056700221319381530156280926371456704509942304414423590385166031118820", + "19831328484489333784475432780421641293929726139240675179672856274388269393268" + ], + [ + "11934129596455521040620786944827826205713621633706285934057045369193958244500", + "8037395052364110730298837004334506829870972346962140206007064471173334027475" + ] + ] + ], + "IC": [ + [ + "82858741371846418102390975654111682337499684659569272071403747441178775094", + "4286912121744489803335872688967541084060786471335097977275283322008748340788", + "1" + ], + [ + "2949292283195261203307481545407020289663288337904117332935641624369320632240", + "4895868961372318516427313051068589418900672425971040539274101100343980810774", + "1" + ], + [ + "4283138832985371893627053916321257875901863688069679108552360851257151597412", + "12301445626126932387280175924125479080740113735715055950924670609729124190207", + "1" + ], + [ + "11403809675918608249249090476998815481360885938257614779638377601415472359725", + "10370383889744288167730128292551983273910856935841190320403487139321945926331", + "1" + ], + [ + "146046474957242547231947902105279535658945942556306365105970828598652582527", + "19316391077135032736180617854925909709408388622932141258157985352356274532963", + "1" + ], + [ + "19392288121313736624150032390760791125928224365133434019677559994823666881089", + "16678649776488360981633823784602747916355420844155287963893744273416034228821", + "1" + ], + [ + "17700244988293823646570920639274788254338288455367989082935279790186368535035", + "9321729693794775981089306312375631163270588069455137620052333218103779355408", + "1" + ], + [ + "6304242739428065891345661929109377623420995931327428546798256748327063014748", + "10780954993779202198998690148500166760839127869483280185479097694857479543720", + "1" + ], + [ + "15890615372155272172271387761362992284949685750813721764642195772457152019165", + "16926364370539068089248210833120023205713972276708964692683476649740531300907", + "1" + ], + [ + "8982718515991384638670171335434300220939254007691698916481977516501727365353", + "19933274338973273645600209826788464024915126306902861441259660444347103717011", + "1" + ], + [ + "13624813441697027269419893255557978801536200641544726966141640956028191608323", + "14568380736652140809608442081925020674177705472939839035342120687477258992462", + "1" + ], + [ + "7287001243757652147041978755465708957323122739823909998863775376965394099650", + "8194529377789992862935644002017654759465911480466382895596098893998234618850", + "1" + ], + [ + "15672609491810685215081462552663762421452118634631233092085621737595234267652", + "2904325643405367825992406778236164206511504644734317609359066533215328475457", + "1" + ], + [ + "915419396354435358079156433856200252628133349566107753168383098995762031654", + "7640503160883357453422046063266912192061137337928989362670501928245645451659", + "1" + ], + [ + "14233801682464959754511413505122573904411742927995284652060293502655728201014", + "16894634587173766457107177463154201142416235583146961458016001995514241600797", + "1" + ], + [ + "865637081385889540821011982382409477264012478881380726208863605069542609927", + "2851681816679478967076297609298375717665401236464133109800669778140378240569", + "1" + ], + [ + "14583623854715049637997176036159291974860261686624791798735868439140771963929", + "6184396208904580798818208852802256520753949645935054330532118256917410168729", + "1" + ], + [ + "7340832411020963493191281149327227244123195086114916154649774645956361514808", + "15074654768397897175094344665304877372038748718786237401937087336643412854581", + "1" + ], + [ + "19226322861612796019283465663964339481922670365980090908059633666493003526920", + "4784769513565224451763088600366892575717723263716353119873721504223139128187", + "1" + ], + [ + "4012352361946387705819729346828208464133226668583289635600033112445603056095", + "16057116501864906353475966636435162596350251241825748835463929049616401925621", + "1" + ], + [ + "17699015327677133433762523603786186670660923725134988336625372092121404781352", + "20779678450565816831584776337126804401686084032081969015904070067714797666579", + "1" + ], + [ + "7110239219642171000502622847102158151023059843711231146792904825853085995446", + "13160112334708882478456144620242292286930388110897910022916805337362636596223", + "1" + ], + [ + "18572966839469907925154251914990082086889869375548359485092736092666901883458", + "2717317841156606824568938974067202962925196229862100442399526546853487033983", + "1" + ], + [ + "18220496879414149572832879223762015215122990853285228408008689887370853115800", + "20936442965528445732757109001578889091199378707564445483449611217812774527300", + "1" + ], + [ + "12232077851023924549383437896602730279522249237260024995597446142400396114435", + "6563047663035805798395574221466154696714942622556424013116465603874844109521", + "1" + ], + [ + "12109591576870421145669126698637125260126292886167173093152618373092533930060", + "4838150475568627509687345029028244688244087639289765225238388542584247749631", + "1" + ], + [ + "11686953332615374166413400118993933874772588790879032818717674616364110119003", + "997777557714243682580030314729391031075903187098529888297775331753993942129", + "1" + ], + [ + "17856019272291166215824899590072473034447333075695359997293931405627546425641", + "20847076087560230989541971055803462020430493691416327989998676442287723694850", + "1" + ], + [ + "3719233446259090602031823947643646288707755415354997947878759420203354178997", + "8365343103859542659965068947238411148203250330874262347086737251125778319916", + "1" + ], + [ + "11510913293380810758607591029811272398780473934028209478267236534219159061926", + "21487940007144748529535209675246355785366971140524949831759963463815763342086", + "1" + ], + [ + "1320866581863043338512589290197401952944129485739535713341560521800016476945", + "2493558738654724256478579784099858256156921863307444062868905210334526715644", + "1" + ], + [ + "17921519492985568040647785518984679305231500205599581370398502174410641627915", + "7509747881493316986520702491460493363464636273816319210975041613994864176359", + "1" + ], + [ + "3430712548343353484542829031470422149014035558383953986112467142255149482517", + "14550495557052814428641743686592474039195116676265817238933308829823014113648", + "1" + ], + [ + "15404982231804436812797545928371130848106957647851884888070752463417657014850", + "4611196330294175143659018144962441564350289800068036864557333922145119754928", + "1" + ], + [ + "15263701692315698223820596911784671235943493678301007311780033091137667408294", + "604902718763398072835765087427553474161374630152901938069702903322739720901", + "1" + ], + [ + "20244489449718281224771972382454688977944613519370226595741543942193818865707", + "19005325000779061572105038900407210855167193186325179384744370456674531846752", + "1" + ], + [ + "17905734409676470389691612532757732246970469909527519932162818478447075527708", + "14786147027096263915511297996292826847659087062694857723516642286999030404099", + "1" + ], + [ + "13170413525057177027118218806689559566136892856728098698757124284101508780041", + "21138656039297587744247525334341823578219773225144796878223492790449265984236", + "1" + ], + [ + "17336985422666489495917434298152259228601087998778158909593038947037047437034", + "17640592272124615371604215593775167886611551365178888179149933534238084536035", + "1" + ], + [ + "13115497681355919008843671294553575734811415225866638680245661303800809177454", + "11101396909544211706087319187611419845994320778819031170997345351820871301500", + "1" + ], + [ + "5062223967757742841418833629304894504824711871486969640422734949713212037564", + "5995745391558201393058938510743066155455293405187491263678494062578649392537", + "1" + ], + [ + "10769448662035944503588756967807107248531839233480897019708757162346507533856", + "17683311668907780400377940051769789887732541265829205574046296993672760170234", + "1" + ], + [ + "18909222506084760520118400904387222253545995580483849260301107047056625024809", + "4739939423481558802886855387063931149245914588665635776355445541037716874191", + "1" + ], + [ + "237258354423629009139604512345017099458104648744590151045267949108836136046", + "8398477677610482726525801716151367352299183871166696265021289782422497361573", + "1" + ], + [ + "21614899156845209369731734601334455382216240765307343061569649838763541939674", + "19737392631718395415895070591908882100913238716433370918711613904255554425863", + "1" + ], + [ + "11583018052272400568802079643913527066888050377899679393339799714495380661286", + "18731342198059952174455684263813783627914005022231316888089150078895916324047", + "1" + ], + [ + "1800355436595083773914109207841543211385162586213879300974211146987134123202", + "13948211457427522096477007682338343714710607448417503368661334375180794438646", + "1" + ], + [ + "12380151495516055715423974838724751018509187196044814610299179374420946317150", + "15604417067169603747798399311766223987091027902169069371143436781729299657321", + "1" + ], + [ + "15586796314575179431439068400563064768255110456857949233401991221744972388290", + "6869029658475871438252091552567541171158916510785162784566374960655529514541", + "1" + ], + [ + "9454259555969046405835114554840573800894460654638881697884905397762877591671", + "15649504506074833196199868121136622617218927420004842806076140919475722131828", + "1" + ], + [ + "10896479167947716665298047581223743449173173843441842077252741245744005867502", + "19466843112239886558867945418277977036987004293914397183376561940538353431523", + "1" + ], + [ + "21093729272413526398302027094496286062183285233963676469751711501691030254808", + "5616302988725848953380515455651462166436866513193168038457367334604897142643", + "1" + ], + [ + "9162526928276135317390642844528140151219934473125754385250619863694467527200", + "2704506477496217427068410968125378104897220198385366379780167188967641057115", + "1" + ], + [ + "2611703957607573998187347531547663551663457287415444888228409918854708173921", + "16503183711195222950599750913705688322318608987024302010766325034010085416942", + "1" + ], + [ + "11144191723062275260143093129552752703141874383079896857211309008338415817157", + "16781709265403451651508663495722707593571471440254748275969368360531033950981", + "1" + ], + [ + "16812964624232834362158259778644306304990898865384873094141859868591196349911", + "13922581405000464856568387775868339864861250228661168312914123793152293400444", + "1" + ], + [ + "7757513072166428505849658731723708923254564692050157984152317397804988815683", + "10596938418787218858764915380828895440118767426036644517687291298143168844310", + "1" + ], + [ + "776963606617916676505305527193906634173028085645966206654629945039284611047", + "10912266632936528293222094364131226803541316295737642239229481058897029295382", + "1" + ], + [ + "16373521723700098997684769703648529905132042031831109132237638798191456108024", + "11103461808206383275179890639579495748275557033587467729454195698739957928818", + "1" + ], + [ + "12824183511411995663633068443784430488868221252426812112737116307753322360649", + "16623259457237877334961209654722086328478084586497591770992246134732053248864", + "1" + ], + [ + "4440204567609318598244879167103963411704795015851735842148385354806120614776", + "439254538132916792300814825054431063060942088144912111780551400772555518726", + "1" + ], + [ + "12550163747027957708679416133057345303366416863124571412695635212042254660231", + "8088733548936346769418714493856651195585281586259855084725506021681259615995", + "1" + ], + [ + "601695970176955369889380617598670451586934521316364158397268786862817318324", + "8177591911722905772853175277543921812590123868553367351838538360889195534445", + "1" + ], + [ + "21420783745411266284334793892673128470907336626528172424997282710543407678562", + "815896668203600154924756799739505300427469299180041621997534085009087797462", + "1" + ], + [ + "5985108217900335996495740885137329434596043615956659372441003017431913541049", + "12400136587102116035870838109370183374536730415523630490626751552251898583723", + "1" + ], + [ + "19164864123547614924145477596845278488377820092261133057871046801697026504830", + "9058096638083409870599642989053208885699231157685473105338357045834902352657", + "1" + ], + [ + "5625208601612291266473410363212052500521534296123171244974430101397304128598", + "20032223272677310984797975395155189489741584704900355338539941675727215575834", + "1" + ], + [ + "19722119258760509259002736097441021306020824312273305874398252765749858625383", + "21476284183336273518938142350498253130780475874465538560639647841713873409967", + "1" + ], + [ + "16214582901276753122992657437576487460434296014671145602237720787074011098320", + "14638014587762532725758011227519785515588402732574136404578917712064567856285", + "1" + ], + [ + "21242009997783861714463438145352831066649780964520311892324662965942254722206", + "17000102442647549832409557151546317734552217997144722436132435910128720474199", + "1" + ], + [ + "3901540629460292660569097126645101425134163883949632616895230751480848213369", + "15462697656409662538566017032586328247938424512432827105504267029364730924622", + "1" + ], + [ + "13589690411326512053318122778970095131969288693012374077657080517788789407345", + "3256080065084142457753800788670092375263661907651111479712628200718368447047", + "1" + ], + [ + "80867775087231075346193177024922594793617447013874226020788299753946699495", + "18692751692376633351750143580480221941277275632746814828053833446777751678844", + "1" + ], + [ + "12208564838188569361021574820173956567515251256529477811689323941001064824558", + "14719028828276200987004700519998864320546393568625959778339171591168779343802", + "1" + ], + [ + "11487733918945328878091426687312208948265605735490434820651127086706421059773", + "12884027668625422693735810500338290593888443327897978424106732856151809328547", + "1" + ], + [ + "20632552305904865953323352410960265689821616276406781145263037394521803318607", + "2807465385289781642965528502072388424070031841212619812619243814164168949956", + "1" + ], + [ + "15762698488851251645720011145875054676705544433397646684075263620983096891945", + "1298669502852138604153414592011225832117552495360099510102598347062068301160", + "1" + ], + [ + "11129488032579072454261600806944244717606891316794143410356402368489165589130", + "17038312956321424279807397639106394935887287800511404015727988253317547071041", + "1" + ] ] - ] } diff --git a/packages/snap/assets/circuits/credentialAtomicQuerySigV2OnChain/verification_key.json b/packages/snap/assets/circuits/credentialAtomicQuerySigV2OnChain/verification_key.json index 1f6d49a5..a61ee5a5 100644 --- a/packages/snap/assets/circuits/credentialAtomicQuerySigV2OnChain/verification_key.json +++ b/packages/snap/assets/circuits/credentialAtomicQuerySigV2OnChain/verification_key.json @@ -1,144 +1,135 @@ { - "protocol": "groth16", - "curve": "bn128", - "nPublic": 11, - "vk_alpha_1": [ - "20491192805390485299153009773594534940189261866228447918068658471970481763042", - "9383485363053290200918347156157836566562967994039712273449902621266178545958", - "1" - ], - "vk_beta_2": [ - [ - "6375614351688725206403948262868962793625744043794305715222011528459656738731", - "4252822878758300859123897981450591353533073413197771768651442665752259397132" - ], - [ - "10505242626370262277552901082094356697409835680220590971873171140371331206856", - "21847035105528745403288232691147584728191162732299865338377159692350059136679" - ], - [ - "1", - "0" - ] - ], - "vk_gamma_2": [ - [ - "10857046999023057135944570762232829481370756359578518086990519993285655852781", - "11559732032986387107991004021392285783925812861821192530917403151452391805634" - ], - [ - "8495653923123431417604973247489272438418190587263600148770280649306958101930", - "4082367875863433681332203403145435568316851327593401208105741076214120093531" - ], - [ - "1", - "0" - ] - ], - "vk_delta_2": [ - [ - "1710121669395829903049554646654548770025644546791991387060028241346751736139", - "9233349870741476556654282208992970742179487991957579201151126362431960413225" - ], - [ - "19046562201477515176875600774989213534306185878886204544239016053798985855692", - "19704486125052989683894847401785081114275457166241990059352921424459992638027" - ], - [ - "1", - "0" - ] - ], - "vk_alphabeta_12": [ - [ - [ - "2029413683389138792403550203267699914886160938906632433982220835551125967885", - "21072700047562757817161031222997517981543347628379360635925549008442030252106" - ], - [ - "5940354580057074848093997050200682056184807770593307860589430076672439820312", - "12156638873931618554171829126792193045421052652279363021382169897324752428276" - ], - [ - "7898200236362823042373859371574133993780991612861777490112507062703164551277", - "7074218545237549455313236346927434013100842096812539264420499035217050630853" - ] - ], - [ - [ - "7077479683546002997211712695946002074877511277312570035766170199895071832130", - "10093483419865920389913245021038182291233451549023025229112148274109565435465" - ], - [ - "4595479056700221319381530156280926371456704509942304414423590385166031118820", - "19831328484489333784475432780421641293929726139240675179672856274388269393268" - ], - [ - "11934129596455521040620786944827826205713621633706285934057045369193958244500", - "8037395052364110730298837004334506829870972346962140206007064471173334027475" - ] - ] - ], - "IC": [ - [ - "4329040981391513141295391766415175655220156497739526881302609278948222504970", - "284608453342683033767670137533198892462004759449479316068661948021384180405", - "1" - ], - [ - "7902292650777562978905160367453874788768779199030594846897219439327408939067", - "10012458713202587447931138874528085940712240664721354058270362630899015322036", - "1" - ], - [ - "11697814597341170748167341793832824505245257771165671796257313346092824905883", - "5174781854368103007061208391170453909797905136821147372441461132562334328215", - "1" - ], - [ - "1726927835877229859131056157678822776962440564906076714962505486421376544987", - "7352133740317971386526986860674287355620937922375271614467789385331477610856", - "1" - ], - [ - "9990035903997574691712818787908054784756674039249764811431700936009293741830", - "4755447104942954158928166153067753327016299728030535979210293681329469052797", - "1" - ], - [ - "15940583140274302050208676622092202988851114679125808597061574700878232173357", - "7533895757575770389928466511298564722397429905987255823784436733572909906714", - "1" - ], - [ - "5508259264227278997738923725524430810437674978357251435507761322739607112981", - "14840270001783263053608712412057782257449606192737461326359694374707752442879", - "1" - ], - [ - "19432593446453142673661052218577694238117210547713431221983638840685247652932", - "16697624670306221047608606229322371623883167253922210155632497282220974839920", - "1" - ], - [ - "6174854815751106275031120096370935217144939918507999853315484754500615715470", - "3190247589562983462928111436181764721696742385815918920518303351200817921520", - "1" - ], - [ - "20417210161225663628251386960452026588766551723348342467498648706108529814968", - "13308394646519897771630385644245620946922357621078786238887021263713833144471", - "1" - ], - [ - "1439721648429120110444974852972369847408183115096685822065827204634576313044", - "7403516047177423709103114106022932360673171438277930001711953991194526055082", - "1" - ], - [ - "18655728389101903942401016308093091046804775184674794685591712671240928471338", - "15349580464155803523251530156943886363594022485425879189715213626172422717967", - "1" + "protocol": "groth16", + "curve": "bn128", + "nPublic": 11, + "vk_alpha_1": [ + "20491192805390485299153009773594534940189261866228447918068658471970481763042", + "9383485363053290200918347156157836566562967994039712273449902621266178545958", + "1" + ], + "vk_beta_2": [ + [ + "6375614351688725206403948262868962793625744043794305715222011528459656738731", + "4252822878758300859123897981450591353533073413197771768651442665752259397132" + ], + [ + "10505242626370262277552901082094356697409835680220590971873171140371331206856", + "21847035105528745403288232691147584728191162732299865338377159692350059136679" + ], + ["1", "0"] + ], + "vk_gamma_2": [ + [ + "10857046999023057135944570762232829481370756359578518086990519993285655852781", + "11559732032986387107991004021392285783925812861821192530917403151452391805634" + ], + [ + "8495653923123431417604973247489272438418190587263600148770280649306958101930", + "4082367875863433681332203403145435568316851327593401208105741076214120093531" + ], + ["1", "0"] + ], + "vk_delta_2": [ + [ + "1710121669395829903049554646654548770025644546791991387060028241346751736139", + "9233349870741476556654282208992970742179487991957579201151126362431960413225" + ], + [ + "19046562201477515176875600774989213534306185878886204544239016053798985855692", + "19704486125052989683894847401785081114275457166241990059352921424459992638027" + ], + ["1", "0"] + ], + "vk_alphabeta_12": [ + [ + [ + "2029413683389138792403550203267699914886160938906632433982220835551125967885", + "21072700047562757817161031222997517981543347628379360635925549008442030252106" + ], + [ + "5940354580057074848093997050200682056184807770593307860589430076672439820312", + "12156638873931618554171829126792193045421052652279363021382169897324752428276" + ], + [ + "7898200236362823042373859371574133993780991612861777490112507062703164551277", + "7074218545237549455313236346927434013100842096812539264420499035217050630853" + ] + ], + [ + [ + "7077479683546002997211712695946002074877511277312570035766170199895071832130", + "10093483419865920389913245021038182291233451549023025229112148274109565435465" + ], + [ + "4595479056700221319381530156280926371456704509942304414423590385166031118820", + "19831328484489333784475432780421641293929726139240675179672856274388269393268" + ], + [ + "11934129596455521040620786944827826205713621633706285934057045369193958244500", + "8037395052364110730298837004334506829870972346962140206007064471173334027475" + ] + ] + ], + "IC": [ + [ + "4329040981391513141295391766415175655220156497739526881302609278948222504970", + "284608453342683033767670137533198892462004759449479316068661948021384180405", + "1" + ], + [ + "7902292650777562978905160367453874788768779199030594846897219439327408939067", + "10012458713202587447931138874528085940712240664721354058270362630899015322036", + "1" + ], + [ + "11697814597341170748167341793832824505245257771165671796257313346092824905883", + "5174781854368103007061208391170453909797905136821147372441461132562334328215", + "1" + ], + [ + "1726927835877229859131056157678822776962440564906076714962505486421376544987", + "7352133740317971386526986860674287355620937922375271614467789385331477610856", + "1" + ], + [ + "9990035903997574691712818787908054784756674039249764811431700936009293741830", + "4755447104942954158928166153067753327016299728030535979210293681329469052797", + "1" + ], + [ + "15940583140274302050208676622092202988851114679125808597061574700878232173357", + "7533895757575770389928466511298564722397429905987255823784436733572909906714", + "1" + ], + [ + "5508259264227278997738923725524430810437674978357251435507761322739607112981", + "14840270001783263053608712412057782257449606192737461326359694374707752442879", + "1" + ], + [ + "19432593446453142673661052218577694238117210547713431221983638840685247652932", + "16697624670306221047608606229322371623883167253922210155632497282220974839920", + "1" + ], + [ + "6174854815751106275031120096370935217144939918507999853315484754500615715470", + "3190247589562983462928111436181764721696742385815918920518303351200817921520", + "1" + ], + [ + "20417210161225663628251386960452026588766551723348342467498648706108529814968", + "13308394646519897771630385644245620946922357621078786238887021263713833144471", + "1" + ], + [ + "1439721648429120110444974852972369847408183115096685822065827204634576313044", + "7403516047177423709103114106022932360673171438277930001711953991194526055082", + "1" + ], + [ + "18655728389101903942401016308093091046804775184674794685591712671240928471338", + "15349580464155803523251530156943886363594022485425879189715213626172422717967", + "1" + ] ] - ] } diff --git a/packages/snap/ceramic/composites/VerifiableCredentials-runtime.json b/packages/snap/ceramic/composites/VerifiableCredentials-runtime.json index 557d4a8c..f2030fab 100644 --- a/packages/snap/ceramic/composites/VerifiableCredentials-runtime.json +++ b/packages/snap/ceramic/composites/VerifiableCredentials-runtime.json @@ -1 +1,25 @@ -{"models":{"VerifiableCredential":{"interface":false,"implements":[],"id":"kjzl6hvfrbw6c61qjqcbuhcpohhuholf3uk8qs3ma8u4t0tvrkkhwj1c9yx1ya5","accountRelation":{"type":"list"}}},"objects":{"VerifiableCredential":{"data":{"type":"string","required":true},"claimId":{"type":"string","required":true,"indexed":true},"ownerDid":{"type":"string","required":true,"indexed":true},"queryHash":{"type":"string","required":true,"indexed":true}}},"enums":{},"accountData":{"verifiableCredentialList":{"type":"connection","name":"VerifiableCredential"}}} +{ + "models": { + "VerifiableCredential": { + "interface": false, + "implements": [], + "id": "kjzl6hvfrbw6c61qjqcbuhcpohhuholf3uk8qs3ma8u4t0tvrkkhwj1c9yx1ya5", + "accountRelation": { "type": "list" } + } + }, + "objects": { + "VerifiableCredential": { + "data": { "type": "string", "required": true }, + "claimId": { "type": "string", "required": true, "indexed": true }, + "ownerDid": { "type": "string", "required": true, "indexed": true }, + "queryHash": { "type": "string", "required": true, "indexed": true } + } + }, + "enums": {}, + "accountData": { + "verifiableCredentialList": { + "type": "connection", + "name": "VerifiableCredential" + } + } +} diff --git a/packages/snap/ceramic/composites/VerifiableCredentials.json b/packages/snap/ceramic/composites/VerifiableCredentials.json index 2d7c5598..8c530014 100644 --- a/packages/snap/ceramic/composites/VerifiableCredentials.json +++ b/packages/snap/ceramic/composites/VerifiableCredentials.json @@ -1 +1,38 @@ -{"version":"1.1","models":{"kjzl6hvfrbw6c61qjqcbuhcpohhuholf3uk8qs3ma8u4t0tvrkkhwj1c9yx1ya5":[{"jws":{"payload":"AXESIHsSE2jG2d6m81r5XLEaFJzGt6C6XKVupHuxnquH3bQJ","signatures":[{"signature":"i6mYkqPcYFqVJVLzeow3Umvy421emGwlDacX2U9RMTBzbyWtfc9uzV9wjinRNnQGcoWOpNaVHs_hAHeWACC0Aw","protected":"eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDprZXk6ejZNa2o2Tmt2Q1I0R0ZGU0pwWkxkNnZZb2FZVlJGTWtIcW1oVGd5MUhuTDVQSjJiI3o2TWtqNk5rdkNSNEdGRlNKcFpMZDZ2WW9hWVZSRk1rSHFtaFRneTFIbkw1UEoyYiJ9"}],"link":"bafyreid3cijwrrwz32tpgwxzlsyrufe4y232bos4uvxki65rt2vypxnube"},"linkedBlock":"omRkYXRhqWRuYW1ldFZlcmlmaWFibGVDcmVkZW50aWFsZXZpZXdzoGZzY2hlbWGlZHR5cGVmb2JqZWN0ZyRzY2hlbWF4LGh0dHBzOi8vanNvbi1zY2hlbWEub3JnL2RyYWZ0LzIwMjAtMTIvc2NoZW1haHJlcXVpcmVkhGhvd25lckRpZGRkYXRhaXF1ZXJ5SGFzaGdjbGFpbUlkanByb3BlcnRpZXOkZGRhdGGiZHR5cGVmc3RyaW5naW1heExlbmd0aBk6mGdjbGFpbUlkomR0eXBlZnN0cmluZ2ltYXhMZW5ndGgZB9Bob3duZXJEaWSiZHR5cGVmc3RyaW5naW1heExlbmd0aBkH0GlxdWVyeUhhc2iiZHR5cGVmc3RyaW5naW1heExlbmd0aBkH0HRhZGRpdGlvbmFsUHJvcGVydGllc/RndmVyc2lvbmMyLjBpaW50ZXJmYWNl9GlyZWxhdGlvbnOgamltcGxlbWVudHOAa2Rlc2NyaXB0aW9ueDRBIG1vZGVsIGZvciBzdG9yaW5nIGVuY3J5cHRlZCB2ZXJpZmlhYmxlIGNyZWRlbnRpYWxzb2FjY291bnRSZWxhdGlvbqFkdHlwZWRsaXN0ZmhlYWRlcqNjc2VwZW1vZGVsZW1vZGVsUs4BBAFxcQsACWhtb2RlbC12MWtjb250cm9sbGVyc4F4OGRpZDprZXk6ejZNa2o2Tmt2Q1I0R0ZGU0pwWkxkNnZZb2FZVlJGTWtIcW1oVGd5MUhuTDVQSjJi"}]},"indices":{"kjzl6hvfrbw6c61qjqcbuhcpohhuholf3uk8qs3ma8u4t0tvrkkhwj1c9yx1ya5":[{"fields":[{"path":["queryHash"]}]},{"fields":[{"path":["claimId"]}]},{"fields":[{"path":["ownerDid"]}]}]},"aliases":{"kjzl6hvfrbw6c61qjqcbuhcpohhuholf3uk8qs3ma8u4t0tvrkkhwj1c9yx1ya5":"VerifiableCredential"},"views":{"account":{},"root":{},"models":{"kjzl6hvfrbw6c61qjqcbuhcpohhuholf3uk8qs3ma8u4t0tvrkkhwj1c9yx1ya5":{}}},"commonEmbeds":[]} +{ + "version": "1.1", + "models": { + "kjzl6hvfrbw6c61qjqcbuhcpohhuholf3uk8qs3ma8u4t0tvrkkhwj1c9yx1ya5": [ + { + "jws": { + "payload": "AXESIHsSE2jG2d6m81r5XLEaFJzGt6C6XKVupHuxnquH3bQJ", + "signatures": [ + { + "signature": "i6mYkqPcYFqVJVLzeow3Umvy421emGwlDacX2U9RMTBzbyWtfc9uzV9wjinRNnQGcoWOpNaVHs_hAHeWACC0Aw", + "protected": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDprZXk6ejZNa2o2Tmt2Q1I0R0ZGU0pwWkxkNnZZb2FZVlJGTWtIcW1oVGd5MUhuTDVQSjJiI3o2TWtqNk5rdkNSNEdGRlNKcFpMZDZ2WW9hWVZSRk1rSHFtaFRneTFIbkw1UEoyYiJ9" + } + ], + "link": "bafyreid3cijwrrwz32tpgwxzlsyrufe4y232bos4uvxki65rt2vypxnube" + }, + "linkedBlock": "omRkYXRhqWRuYW1ldFZlcmlmaWFibGVDcmVkZW50aWFsZXZpZXdzoGZzY2hlbWGlZHR5cGVmb2JqZWN0ZyRzY2hlbWF4LGh0dHBzOi8vanNvbi1zY2hlbWEub3JnL2RyYWZ0LzIwMjAtMTIvc2NoZW1haHJlcXVpcmVkhGhvd25lckRpZGRkYXRhaXF1ZXJ5SGFzaGdjbGFpbUlkanByb3BlcnRpZXOkZGRhdGGiZHR5cGVmc3RyaW5naW1heExlbmd0aBk6mGdjbGFpbUlkomR0eXBlZnN0cmluZ2ltYXhMZW5ndGgZB9Bob3duZXJEaWSiZHR5cGVmc3RyaW5naW1heExlbmd0aBkH0GlxdWVyeUhhc2iiZHR5cGVmc3RyaW5naW1heExlbmd0aBkH0HRhZGRpdGlvbmFsUHJvcGVydGllc/RndmVyc2lvbmMyLjBpaW50ZXJmYWNl9GlyZWxhdGlvbnOgamltcGxlbWVudHOAa2Rlc2NyaXB0aW9ueDRBIG1vZGVsIGZvciBzdG9yaW5nIGVuY3J5cHRlZCB2ZXJpZmlhYmxlIGNyZWRlbnRpYWxzb2FjY291bnRSZWxhdGlvbqFkdHlwZWRsaXN0ZmhlYWRlcqNjc2VwZW1vZGVsZW1vZGVsUs4BBAFxcQsACWhtb2RlbC12MWtjb250cm9sbGVyc4F4OGRpZDprZXk6ejZNa2o2Tmt2Q1I0R0ZGU0pwWkxkNnZZb2FZVlJGTWtIcW1oVGd5MUhuTDVQSjJi" + } + ] + }, + "indices": { + "kjzl6hvfrbw6c61qjqcbuhcpohhuholf3uk8qs3ma8u4t0tvrkkhwj1c9yx1ya5": [ + { "fields": [{ "path": ["queryHash"] }] }, + { "fields": [{ "path": ["claimId"] }] }, + { "fields": [{ "path": ["ownerDid"] }] } + ] + }, + "aliases": { + "kjzl6hvfrbw6c61qjqcbuhcpohhuholf3uk8qs3ma8u4t0tvrkkhwj1c9yx1ya5": "VerifiableCredential" + }, + "views": { + "account": {}, + "root": {}, + "models": { + "kjzl6hvfrbw6c61qjqcbuhcpohhuholf3uk8qs3ma8u4t0tvrkkhwj1c9yx1ya5": {} + } + }, + "commonEmbeds": [] +} diff --git a/packages/snap/ceramic/composites/VerifiableCredentialsV2-runtime.json b/packages/snap/ceramic/composites/VerifiableCredentialsV2-runtime.json index 7ad0e6fc..dfe7afa6 100644 --- a/packages/snap/ceramic/composites/VerifiableCredentialsV2-runtime.json +++ b/packages/snap/ceramic/composites/VerifiableCredentialsV2-runtime.json @@ -1 +1,25 @@ -{"models":{"VerifiableCredential":{"interface":false,"implements":[],"id":"kjzl6hvfrbw6c5j1vrqei8a3h06om20x4qj8fj84ku46oew5b0yv9h6gyzwd2t4","accountRelation":{"type":"list"}}},"objects":{"VerifiableCredential":{"data":{"type":"string","required":true},"claimId":{"type":"string","required":true,"indexed":true},"ownerDid":{"type":"string","required":true,"indexed":true},"queryHash":{"type":"string","required":true,"indexed":true}}},"enums":{},"accountData":{"verifiableCredentialList":{"type":"connection","name":"VerifiableCredential"}}} +{ + "models": { + "VerifiableCredential": { + "interface": false, + "implements": [], + "id": "kjzl6hvfrbw6c5j1vrqei8a3h06om20x4qj8fj84ku46oew5b0yv9h6gyzwd2t4", + "accountRelation": { "type": "list" } + } + }, + "objects": { + "VerifiableCredential": { + "data": { "type": "string", "required": true }, + "claimId": { "type": "string", "required": true, "indexed": true }, + "ownerDid": { "type": "string", "required": true, "indexed": true }, + "queryHash": { "type": "string", "required": true, "indexed": true } + } + }, + "enums": {}, + "accountData": { + "verifiableCredentialList": { + "type": "connection", + "name": "VerifiableCredential" + } + } +} diff --git a/packages/snap/ceramic/composites/VerifiableCredentialsV2.json b/packages/snap/ceramic/composites/VerifiableCredentialsV2.json index ce853e84..f59ef0bc 100644 --- a/packages/snap/ceramic/composites/VerifiableCredentialsV2.json +++ b/packages/snap/ceramic/composites/VerifiableCredentialsV2.json @@ -1 +1,38 @@ -{"version":"1.1","models":{"kjzl6hvfrbw6c5j1vrqei8a3h06om20x4qj8fj84ku46oew5b0yv9h6gyzwd2t4":[{"jws":{"payload":"AXESIJ3BF8Q_1bYO8VuaK8GI5BbkQmxJ73zD-xykLspGo9pz","signatures":[{"signature":"vIKvgfCZ3ZdZAiiZtbViRwtGhK4yniFhsf9lbxTyg1LTY6K7699bdieQoggcYTWs_KoP19xU95gy5JNu7yQOCg","protected":"eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDprZXk6ejZNa2o2Tmt2Q1I0R0ZGU0pwWkxkNnZZb2FZVlJGTWtIcW1oVGd5MUhuTDVQSjJiI3o2TWtqNk5rdkNSNEdGRlNKcFpMZDZ2WW9hWVZSRk1rSHFtaFRneTFIbkw1UEoyYiJ9"}],"link":"bafyreie5yel4ip6vwyhpcw42fpayrzaw4rbgysppptb7whfef3feni62om"},"linkedBlock":"omRkYXRhqWRuYW1ldFZlcmlmaWFibGVDcmVkZW50aWFsZXZpZXdzoGZzY2hlbWGlZHR5cGVmb2JqZWN0ZyRzY2hlbWF4LGh0dHBzOi8vanNvbi1zY2hlbWEub3JnL2RyYWZ0LzIwMjAtMTIvc2NoZW1haHJlcXVpcmVkhGhvd25lckRpZGRkYXRhaXF1ZXJ5SGFzaGdjbGFpbUlkanByb3BlcnRpZXOkZGRhdGGiZHR5cGVmc3RyaW5naW1heExlbmd0aBoAD0JAZ2NsYWltSWSiZHR5cGVmc3RyaW5naW1heExlbmd0aBkH0Ghvd25lckRpZKJkdHlwZWZzdHJpbmdpbWF4TGVuZ3RoGQfQaXF1ZXJ5SGFzaKJkdHlwZWZzdHJpbmdpbWF4TGVuZ3RoGQfQdGFkZGl0aW9uYWxQcm9wZXJ0aWVz9Gd2ZXJzaW9uYzIuMGlpbnRlcmZhY2X0aXJlbGF0aW9uc6BqaW1wbGVtZW50c4BrZGVzY3JpcHRpb254NEEgbW9kZWwgZm9yIHN0b3JpbmcgZW5jcnlwdGVkIHZlcmlmaWFibGUgY3JlZGVudGlhbHNvYWNjb3VudFJlbGF0aW9uoWR0eXBlZGxpc3RmaGVhZGVyo2NzZXBlbW9kZWxlbW9kZWxSzgEEAXFxCwAJaG1vZGVsLXYxa2NvbnRyb2xsZXJzgXg4ZGlkOmtleTp6Nk1rajZOa3ZDUjRHRkZTSnBaTGQ2dllvYVlWUkZNa0hxbWhUZ3kxSG5MNVBKMmI="}]},"indices":{"kjzl6hvfrbw6c5j1vrqei8a3h06om20x4qj8fj84ku46oew5b0yv9h6gyzwd2t4":[{"fields":[{"path":["queryHash"]}]},{"fields":[{"path":["claimId"]}]},{"fields":[{"path":["ownerDid"]}]}]},"aliases":{"kjzl6hvfrbw6c5j1vrqei8a3h06om20x4qj8fj84ku46oew5b0yv9h6gyzwd2t4":"VerifiableCredential"},"views":{"account":{},"root":{},"models":{"kjzl6hvfrbw6c5j1vrqei8a3h06om20x4qj8fj84ku46oew5b0yv9h6gyzwd2t4":{}}},"commonEmbeds":[]} +{ + "version": "1.1", + "models": { + "kjzl6hvfrbw6c5j1vrqei8a3h06om20x4qj8fj84ku46oew5b0yv9h6gyzwd2t4": [ + { + "jws": { + "payload": "AXESIJ3BF8Q_1bYO8VuaK8GI5BbkQmxJ73zD-xykLspGo9pz", + "signatures": [ + { + "signature": "vIKvgfCZ3ZdZAiiZtbViRwtGhK4yniFhsf9lbxTyg1LTY6K7699bdieQoggcYTWs_KoP19xU95gy5JNu7yQOCg", + "protected": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDprZXk6ejZNa2o2Tmt2Q1I0R0ZGU0pwWkxkNnZZb2FZVlJGTWtIcW1oVGd5MUhuTDVQSjJiI3o2TWtqNk5rdkNSNEdGRlNKcFpMZDZ2WW9hWVZSRk1rSHFtaFRneTFIbkw1UEoyYiJ9" + } + ], + "link": "bafyreie5yel4ip6vwyhpcw42fpayrzaw4rbgysppptb7whfef3feni62om" + }, + "linkedBlock": "omRkYXRhqWRuYW1ldFZlcmlmaWFibGVDcmVkZW50aWFsZXZpZXdzoGZzY2hlbWGlZHR5cGVmb2JqZWN0ZyRzY2hlbWF4LGh0dHBzOi8vanNvbi1zY2hlbWEub3JnL2RyYWZ0LzIwMjAtMTIvc2NoZW1haHJlcXVpcmVkhGhvd25lckRpZGRkYXRhaXF1ZXJ5SGFzaGdjbGFpbUlkanByb3BlcnRpZXOkZGRhdGGiZHR5cGVmc3RyaW5naW1heExlbmd0aBoAD0JAZ2NsYWltSWSiZHR5cGVmc3RyaW5naW1heExlbmd0aBkH0Ghvd25lckRpZKJkdHlwZWZzdHJpbmdpbWF4TGVuZ3RoGQfQaXF1ZXJ5SGFzaKJkdHlwZWZzdHJpbmdpbWF4TGVuZ3RoGQfQdGFkZGl0aW9uYWxQcm9wZXJ0aWVz9Gd2ZXJzaW9uYzIuMGlpbnRlcmZhY2X0aXJlbGF0aW9uc6BqaW1wbGVtZW50c4BrZGVzY3JpcHRpb254NEEgbW9kZWwgZm9yIHN0b3JpbmcgZW5jcnlwdGVkIHZlcmlmaWFibGUgY3JlZGVudGlhbHNvYWNjb3VudFJlbGF0aW9uoWR0eXBlZGxpc3RmaGVhZGVyo2NzZXBlbW9kZWxlbW9kZWxSzgEEAXFxCwAJaG1vZGVsLXYxa2NvbnRyb2xsZXJzgXg4ZGlkOmtleTp6Nk1rajZOa3ZDUjRHRkZTSnBaTGQ2dllvYVlWUkZNa0hxbWhUZ3kxSG5MNVBKMmI=" + } + ] + }, + "indices": { + "kjzl6hvfrbw6c5j1vrqei8a3h06om20x4qj8fj84ku46oew5b0yv9h6gyzwd2t4": [ + { "fields": [{ "path": ["queryHash"] }] }, + { "fields": [{ "path": ["claimId"] }] }, + { "fields": [{ "path": ["ownerDid"] }] } + ] + }, + "aliases": { + "kjzl6hvfrbw6c5j1vrqei8a3h06om20x4qj8fj84ku46oew5b0yv9h6gyzwd2t4": "VerifiableCredential" + }, + "views": { + "account": {}, + "root": {}, + "models": { + "kjzl6hvfrbw6c5j1vrqei8a3h06om20x4qj8fj84ku46oew5b0yv9h6gyzwd2t4": {} + } + }, + "commonEmbeds": [] +} diff --git a/werf.yaml b/werf.yaml deleted file mode 100644 index e18cdc0b..00000000 --- a/werf.yaml +++ /dev/null @@ -1,32 +0,0 @@ -configVersion: 1 -project: "web-client" ---- -image: builder -from: node:18-alpine3.18 -git: - - add: / - to: /app - stageDependencies: - install: - - package.json - - yarn.lock - setup: - - "**/*" -shell: - beforeInstall: - - apk --no-cache --update --virtual build-dependencies add python3 make g++ - install: - - cd /app - #- yarn autoclean --init - #- yarn autoclean --force - - yarn install - setup: - - cd /app - - yarn build - ---- -image: web -from: nginx:alpine -git: - - add: /nginx.conf - to: /etc/nginx/nginx.conf