diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index ab4d6826..21531f63 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -3,13 +3,13 @@ on: push: tags: - 'v[0-9]+.[0-9]+.[0-9]+' + - 'v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+' jobs: converge: name: Converge runs-on: ubuntu-latest steps: - - name: Checkout code uses: actions/checkout@v3 with: @@ -28,7 +28,32 @@ jobs: docker version echo $GITHUB_REPOSITORY echo $GITHUB_REF_NAME + - name: Run Build run: | . $(werf ci-env github --as-file) - werf export service --tag ghcr.io/$GITHUB_REPOSITORY:$GITHUB_REF_NAME \ No newline at end of file + werf export service --tag ghcr.io/$GITHUB_REPOSITORY:$GITHUB_REF_NAME + + - uses: shrink/actions-docker-extract@v3 + id: extract + with: + image: ghcr.io/$GITHUB_REPOSITORY:$GITHUB_REF_NAME + path: "/usr/local/bin/rarimo-core" + + - uses: ncipollo/release-action@v1 + id: create-release + with: + allowUpdates: true + tag: ${{ github.ref_name }} + name: Release ${{ github.ref_name }} + token: ${{ secrets.GITHUB_TOKEN }} + + - name: Upload Release Asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create-release.outputs.upload_url }} + asset_path: ${{steps.extract.outputs.destination}}/rarimo-core + asset_name: rarimo-core-alpine-linux-amd64 + asset_content_type: application/octet-stream diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 00000000..d6c2950d --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,15 @@ +before: + hooks: + - go mod tidy + - go mod vendor + +builds: + - id: linux-amd64-build + main: ./cmd/rarimo-cored + binary: rarimo-core + env: + - CGO_ENABLED=1 + goos: + - linux + goarch: + - amd64 \ No newline at end of file diff --git a/README.md b/README.md index 475e2372..7fe0254b 100644 --- a/README.md +++ b/README.md @@ -2,19 +2,22 @@ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) - ***Chains:*** + * [***Mainnet information***](./docs/common/mainnet/001-mainnet.md) * [***Testnet (Mainnet-beta) information***](./docs/common/testnet/001-testnet.md) ## Introduction -**rarimo-core** is a blockchain built using Cosmos SDK and Tendermint and created with [Ignite CLI](https://ignite.com/cli). +**rarimo-core** is a blockchain built using Cosmos SDK and Tendermint and created +with [Ignite CLI](https://ignite.com/cli). -Based on Tendermint + Cosmos SDK blockchain core the main goal is to provide validated information about different cross-chain operations. +Based on Tendermint + Cosmos SDK blockchain core the main goal is to provide validated information about different +cross-chain operations. Documentation: + * [Rarimo core modules business logic](./x/README.md) * [Bridge contract architecture](./docs/common/contracts/001-contracts.md) * [Bridging flow overview](./docs/common/bridging/001-bridging.md) @@ -25,22 +28,41 @@ Documentation: ### Install Use + ```shell ignite chain build ``` -If it fails in generate proto stage with error on etheremint .proto files just re-execute that command or try to add `--clear-cache` flag. +If it fails in generate proto stage with error on etheremint .proto files just re-execute that command or try to +add `--clear-cache` flag. ### Generate proto files Use + ```shell ignite generate proto-go ``` -If it fails in generate proto stage with error on etheremint .proto files remove `./proto/ethermint` package and execute command again. +If it fails in generate proto stage with error on etheremint .proto files remove `./proto/ethermint` package and execute +command again. DO NOT FORGET TO RETURN DELETED PACKAGE. +## Versioning + +Rarimo core leverages on the following branches: + +- `master` branch with vanilla core version +- `mainnet-beta` branch with testnet core with all testnet upgrades +- `mainnet` branch with mainnet core with all mainnet upgrades + +For the tags we are using an approach when stable releases with `vX.X.X` tag has only the `mainnet` core. On the other +side `mainnet-beta` releases are build under `vX.X.X-rcX` tag. For the master branch releases only hash tagged images +will be provided. + +Before creating the `mainnet` release be sure that it includes all unreleased changes from `mainnet-beta` and then +select the corresponding version number that will cover all released tags on `mainnet-beta`. + ## Learn more - [Ignite CLI](https://ignite.com/cli) diff --git a/app/app.go b/app/app.go index e2718271..35a121a0 100644 --- a/app/app.go +++ b/app/app.go @@ -973,6 +973,13 @@ func New( }, ) + app.UpgradeKeeper.SetUpgradeHandler( + "v1.1.0", + func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { + return app.mm.RunMigrations(ctx, app.configurator, fromVM) + }, + ) + if loadLatest { if err := app.LoadLatestVersion(); err != nil { tmos.Exit(err.Error()) diff --git a/docker-compose.yaml b/docker-compose.yaml deleted file mode 100644 index 6c88ce1d..00000000 --- a/docker-compose.yaml +++ /dev/null @@ -1,57 +0,0 @@ -version: "3.7" - -services: - validator: - image: registry.github.com/rarimo/rarimo-core:ba434e3e818e50796042b5b0b5a1a6d74e6f2ada - entrypoint: sh -c "rarimo-core start --home=/usr/local/bin/genesis" - environment: - - Solana_ADDR_ENV=solana-saver:8000 - volumes: - - ./genesis:/usr/local/bin/genesis - - solana-saver: - image: registry.gitlab.com/rarimo/sol-saver-svc:e7878a49b4680c2844a03f573467a7a290d2c1b1 - restart: unless-stopped - depends_on: - - solana-saver-db - volumes: - - ./configs/sol-saver.yaml:/config.yaml - environment: - - KV_VIPER_FILE=/config.yaml - entrypoint: sh -c "sol-saver-svc migrate up && sol-saver-svc run service" - solana-saver-db: - image: tokend/postgres-ubuntu:9.6 - restart: unless-stopped - environment: - - POSTGRES_USER=solana - - POSTGRES_PASSWORD=solana - - POSTGRES_DB=solana - - PGDATA=/pgdata - volumes: - - solana-data:/pgdata - - signer: - image: registry.gitlab.com/rarimo/signer-svc:831023d79333ce087b47a102ca55b60e9949dd50 - restart: unless-stopped - depends_on: - - signer-db - - validator - volumes: - - ./configs/signer.yaml:/config.yaml - environment: - - KV_VIPER_FILE=/config.yaml - entrypoint: sh -c "signer-svc migrate up && signer-svc run service" - signer-db: - image: tokend/postgres-ubuntu:9.6 - restart: unless-stopped - environment: - - POSTGRES_USER=signer - - POSTGRES_PASSWORD=signer - - POSTGRES_DB=signer - - PGDATA=/pgdata - volumes: - - signer-data:/pgdata - -volumes: - solana-data: - signer-data: \ No newline at end of file diff --git a/docs/common/bridging/001-bridging.md b/docs/common/bridging/001-bridging.md index 14799f76..666d80b5 100644 --- a/docs/common/bridging/001-bridging.md +++ b/docs/common/bridging/001-bridging.md @@ -1,6 +1,11 @@ +--- +layout: default +title: Bridging +--- + # Bridging Bridging documentation describes current existing implementations over our cross-chain messaging protocol. -* [Bridging identity from Polygon](./002-identity.md) +* [Bridging identity from Polygon](./002-identity.md) * [Bridging identity from Rarimo](./003-rarimo-identity.md) \ No newline at end of file diff --git a/docs/common/bridging/002-identity.md b/docs/common/bridging/002-identity.md index c16281f8..362042d4 100644 --- a/docs/common/bridging/002-identity.md +++ b/docs/common/bridging/002-identity.md @@ -1,36 +1,60 @@ +--- +layout: default +title: Identity transfers +--- + # Identity transfers Identity transfers currently implemented in the following way: -- There is an operation type `IDENTITY_DEFAULT_TRANSFER` that should be used to transfer simple state from one chain to another. + +- There are an operation types `IDENTITY_GIST_TRANSFER` and `IDENTITY_STATE_TRANSFER` that have to be used fore + transferring state transitions from one chain to another. - An [evm-identity-oracle-svc](https://github.com/rarimo/evm-identity-saver-svc) exists, that is responsible for delivering information from certain Iden3 state contract into the Rarimo chain. -- After delivering information about state update, oracles (`evm-identity-saver-svc`) vote for information correctness. +- After delivering information about state or GIST update, oracles (`evm-identity-saver-svc`) vote for information + correctness. -- After successful voting, the threshold signature producers provides the ECDSA signature for state update information hash. +- After successful voting, the threshold signature producers provides the ECDSA signature for state update information + hash. -- There is a [modified state smart contracts](https://gitlab.com/rarimo/polygonid/contracts) that accepts state updates with ECDSA signature instead of ZK proof of state update validity. +- There is a [modified state smart contracts](https://github.com/rarimo/polygonid-integration-contracts) that accepts + state updates with ECDSA signature instead of ZK proof of state update validity. - Such smart contract should be deployed into every chain that we have to support. -- The information about state update with its witness (ECDSA signature) can be delivered into modified state smart contracts on the target chain by everyone. - Also, the [relayer service](https://gitlab.com/rarimo/polygonid/relayer-svc/) exists, that tracks new state update operations, their signatures and submits state update transactions to the target chain. +- The information about state update with its witness (ECDSA signature) can be delivered into modified state smart + contracts on the target chain by everyone. + +- Also, the [relayer service](https://github.com/rarimo/identity-relayer-svc) exists, that tracks new state and + GIST update operations, their signatures and submits if requested transactions to the target chain. For the DApp it + can + be used in the following way: + - PolygonID wallet generates on-chain zkp based on information from Polygon chain state smart contact. + - After receiving the proof on your application, using corresponding public signals you can trigger the transfer of + required state and GIST hashes. ---- ## Iden3 -TBD +To explore how the Iden3 protocol works please visit their [documentation](https://docs.iden3.io/). ---- -## Identity saver (oracle) +## [Identity saver (oracle)](https://github.com/rarimo/evm-identity-saver-svc) -In the current implementation the identity saver subscribes to the certain EVM chain state smart contract and tracks the `StateLibStateUpdated` events. +In the current implementation the identity saver subscribes to the certain EVM chain state smart contract and tracks +the `StateLibStateUpdated` events. Event definition: + ```go +package main + +import "math/big" + type StateLibStateUpdated struct { Id *big.Int BlockN *big.Int @@ -38,9 +62,10 @@ type StateLibStateUpdated struct { State *big.Int Raw types.Log // Blockchain specific contextual infos } + ``` -The following configuration .yaml file should be provided to launch your oracle: +The following configuration ___.yaml___ file should be provided to launch your oracle: ```yaml log: @@ -91,7 +116,8 @@ state_contract_cfg: After fetching of some event, oracle will create the corresponding transaction and submit it to the Rarimo blockchain. After transaction appears in Rarimo blockchain all chain oracles have to vote for its correctness. -So they will fetch the information about state update from Rarimo chain, verify it and submit their votes (YES/NO answers). +So they will fetch the information about state update from Rarimo chain, verify it and submit their votes (YES/NO +answers). For submitting transactions, savers (oracles) uses the [broadcaster-svc](https://github.com/rarimo/broadcaster-svc). It accepts the transaction by GRPC endpoint, signs it with configured private key and submits it to the Rarimo chain. @@ -124,13 +150,14 @@ cosmos: ``` Explore the simple docker-compose file to run the described services: + ```yaml version: "3.7" services: broadcaster: - image: registry.github.com/rarimo/broadcaster-svc:v1.0.1 + image: ghcr.io/rarimo/broadcaster-svc:v1.0.2 restart: unless-stopped depends_on: - broadcaster-db @@ -152,47 +179,40 @@ services: - broadcaster-data:/pgdata evm-identity-saver: - image: registry.github.com/rarimo/evm-identity-saver-svc:v1.0.2 + image: ghcr.io/rarimo/evm-identity-saver-svc:v1.0.6 restart: unless-stopped depends_on: - - broadcaster + - broadcaster volumes: - - ./config/evm-saver.yaml:/config.yaml + - ./config/evm-saver.yaml:/config.yaml environment: - - KV_VIPER_FILE=/config.yaml + - KV_VIPER_FILE=/config.yaml entrypoint: sh -c "evm-identity-saver-svc run state-update-all" ``` ---- -## Relayer service +## [Relayer service](https://github.com/rarimo/identity-relayer-svc) -Relayer service is responsible for fetching information from Rarimo chain about new signatures for `IDENTITY_DEFAULT_TRANSFER` operations. -When the signature has been provided, relayer creates the EVM transaction to the configured smart contract with given signature, merkle path and state information. - -It will be the call to -``` -function signedTransitState( - uint256 prevState_, - uint256 prevGist_, - (uint256,uint256,uint256,uint256,uint256) stateData_, - (uint256,uint256,uint256,uint256) gistData_, - bytes proof_ -) returns() -``` +Relayer service is responsible for fetching information from Rarimo chain about new signatures +for `IDENTITY_GIST_TRANSFER` and `IDENTITY_STATE_TRANSFER` operations. The following configuration .yaml file should be provided to launch your raleyer service: + ```yaml log: disable_sentry: true level: debug -## Redis connect information -redis: - addr: redis:6379 - ## Password can be empty - password: +# The port to run on +listener: + addr: :8000 + +# PostgreSQL DB connect +db: + url: "postgres://postgres:postgres@localhost:5432/postgres?sslmode=disable" +# Rarimo core RPCs core: addr: tcp://validator:26657 @@ -212,14 +232,12 @@ evm: chain_id: 1 relay: - target_chain: "Ethereum" - - ## Configuration to perform insta submitting (on launch) for any old confirmation from core that contains state update messages. - insta_submit_enabled: false - insta_submit_conf: "" + # Flag the indicates should service iterate over all existing transfer operation and fill the database + catchup_disabled: true ``` Explore the simple docker-compose file to run described services: + ```yaml version: "3.7" @@ -249,10 +267,6 @@ services: 2. Currently, running of your oracle service requires staking of RMO tokens in Rarimo chain. -3. Oracle service in current implementation supports subscribing only for one certain issuer state updates. (Not relevant with `evm-identity-saver-svc@v1.0.5`) - -4. Relayer service in current implementation submits all state updates to the target chain. No filtering for issuer id is provided. - -5. Support of certain smart contract and issuer by oracles requires the voting between all active oracles for that chain. - It means that for your chain all other oracles have to update their configuration to support your smart contract and issuer. - Also, the chain-clone can be added to the Rarimo to split oracle groups. \ No newline at end of file +3. Support of certain smart contract and issuer by oracles requires the voting between all active oracles for that + chain. It means that for your chain all other oracles have to update their configuration to support your smart + contract and issuer. Also, the chain-clone can be added to the Rarimo to split oracle groups. \ No newline at end of file diff --git a/docs/common/bridging/003-rarimo-identity.md b/docs/common/bridging/003-rarimo-identity.md index f95e2561..1a964ec4 100644 --- a/docs/common/bridging/003-rarimo-identity.md +++ b/docs/common/bridging/003-rarimo-identity.md @@ -1,3 +1,8 @@ +--- +layout: default +title: Rarimo Identity +--- + # Rarimo Identity Rarimo identity transfers provides issuers with opportunity to publish cheap state updates into Rarimo chain directly, @@ -5,7 +10,9 @@ that allows to skip transferring from Polygon to Rarimo in default flow. Also, a aggregated into one Merkle hash that allows us to update all states by single transaction. Generally, common flow looks like this: -- There is an operation type `IDENTITY_AGGREGATED_TRANSFER` that is used to transfer aggregated identity state overall issuers. + +- There is an operation type `IDENTITY_AGGREGATED_TRANSFER` that is used to transfer aggregated identity state overall + issuers. - Issuer publishes state transition into Rarimo EVM identity state contract. That state contract is fully compatible with original Iden3 state smartcontract. @@ -14,14 +21,18 @@ Generally, common flow looks like this: - In the `identiy` module `EndBlock` method the corresponding operation will be created. -- After some time, the threshold signature producers provides the ECDSA signature for aggregated state update information hash. +- After some time, the threshold signature producers provides the ECDSA signature for aggregated state update + information hash. -- There is a [modified state smart contracts](https://gitlab.com/rarimo/rarimoid/state-contracts) that accepts aggregated state updates with ECDSA signature instead of ZK proof of state update validity. +- There is a [modified state smart contracts](https://gitlab.com/rarimo/rarimoid/state-contracts) that accepts + aggregated state updates with ECDSA signature instead of ZK proof of state update validity. - Such smart contract should be deployed into every chain that we have to support. -- The information about state update with its witness (ECDSA signature) can be delivered into modified state smart contracts on the target chain by everyone. - After such signed update execution, all state updates on Rarimo chain becomes delivered on target chain by single transaction. +- The information about state update with its witness (ECDSA signature) can be delivered into modified state smart + contracts on the target chain by everyone. + After such signed update execution, all state updates on Rarimo chain becomes delivered on target chain by single + transaction. ---- @@ -29,12 +40,17 @@ Generally, common flow looks like this: On the DApp side the following flow should be executed to use our aggregated state: -1. Get state information from Rarimo: `/rarimo/rarimo-core/identity/state/{id}`. Also get path from `/rarimo/rarimo-core/identity/state/{id}/proof`. +1. Get state information from Rarimo: `/rarimo/rarimo-core/identity/state/{id}`. Also get path + from `/rarimo/rarimo-core/identity/state/{id}/proof`. 2. If the last state update timestamp is equal (or less) to the timestamp on target chain - go to (5). -3. Using `lastUpdateOperationIndex` call: `/rarimo/rarimo-core/rarimocore/operation/{index}`. It provides the information about GISTRoot and StatesRoot hash. Use it in state transition. +3. Using `lastUpdateOperationIndex` call: `/rarimo/rarimo-core/rarimocore/operation/{index}`. It provides the + information about GISTRoot and StatesRoot hash. Use it in state transition. -4. Using `lastUpdateOperationIndex` call: `/rarimo/rarimo-core/rarimocore/operation/{index}/proof`. Using signature, path and information from previous request execute `signedStateTransition` on target chain state smart contract. +4. Using `lastUpdateOperationIndex` call: `/rarimo/rarimo-core/rarimocore/operation/{index}/proof`. Using signature, + path and information from previous request execute `signedStateTransition` on target chain state smart contract. -5. Generate ZKP using state information from (1) request. Execute ZKP verification on [modified Verificator contract](https://gitlab.com/rarimo/rarimoid/state-contracts) using generated proof information, information and path from (1). +5. Generate ZKP using state information from (1) request. Execute ZKP verification + on [modified Verificator contract](https://gitlab.com/rarimo/rarimoid/state-contracts) using generated proof + information, information and path from (1). diff --git a/docs/common/contracts/001-contracts.md b/docs/common/contracts/001-contracts.md index f381cb2c..eb6ff51a 100644 --- a/docs/common/contracts/001-contracts.md +++ b/docs/common/contracts/001-contracts.md @@ -1,7 +1,13 @@ +--- +layout: default +title: Smart-contracts overview +--- + # Smart-contracts overview Rarimo smart-contracts are the primary way to interact with our multi-chain protocol. -Developers can send data, assets, or liquidity; build cross-chain integrations; or retrieve protocol information using these contracts. +Developers can send data, assets, or liquidity; build cross-chain integrations; or retrieve protocol information using +these contracts. Whenever possible, we made sure to maintain similar interface and signatures to make integrating cross-chain easy. ---- @@ -13,5 +19,6 @@ Whenever possible, we made sure to maintain similar interface and signatures to - Repo: [EVM Bridge](https://github.com/rarimo/contracts/evm-bridge) Documentation: + * [Bridge architecture](./002-bridge.md) * [Bridge comission architecture](./003-commission.md) \ No newline at end of file diff --git a/docs/common/contracts/002-bridge.md b/docs/common/contracts/002-bridge.md index dfe57885..dbc607b0 100644 --- a/docs/common/contracts/002-bridge.md +++ b/docs/common/contracts/002-bridge.md @@ -1,9 +1,17 @@ +--- +layout: default +title: Bridge overview +--- + # Bridge overview -Rarimo decentralized bridge contract is responsible for managing deposits and withdrawals for Native, fungible and non-fungible tokens. All withdrawal operations are protected by ECDSA secp256k1 threshold (t-n) signature. +Rarimo decentralized bridge contract is responsible for managing deposits and withdrawals for Native, fungible and +non-fungible tokens. All withdrawal operations are protected by ECDSA secp256k1 threshold (t-n) signature. This signature is produced by core multi-sig services depending on the validated core state. -The core service stores information to be signed in `operation` entries. `Operation` data structure consist of the following fields: +The core service stores information to be signed in `operation` entries. `Operation` data structure consist of the +following fields: + - index - operation type - details @@ -11,8 +19,9 @@ The core service stores information to be signed in `operation` entries. `Operat - creator address - timestamp +For token transfer there is an operation type `Type_TRANSFER` and the details field contain the following proto-encoded +information: -For token transfer there is an operation type `Type_TRANSFER` and the details field contain the following proto-encoded information: - origin hash (hash of tx, id and current network) - tx - event id (or operation id) @@ -23,7 +32,11 @@ For token transfer there is an operation type `Type_TRANSFER` and the details fi - bundle info (data and salt) - token information -For signing operations, the signature producer turns the operation content into special Merkle leaf content, creates a Merkle tree, signs its hash and submits the confirmation operation to the core. After, operation will be marked as signed and users can pool signature and operation information to submit into the bridge contract on the target chain. Smart-contract on the target chain should accept all information, perform validation, withdraw the corresponding token, and store information about the completed withdrawals to prevent double-spending. +For signing operations, the signature producer turns the operation content into special Merkle leaf content, creates a +Merkle tree, signs its hash and submits the confirmation operation to the core. After, operation will be marked as +signed and users can pool signature and operation information to submit into the bridge contract on the target chain. +Smart-contract on the target chain should accept all information, perform validation, withdraw the corresponding token, +and store information about the completed withdrawals to prevent double-spending. ---- @@ -35,7 +48,8 @@ Common transfer hash can be derived from the following sequence: OriginHash is a hash of `tx | eventId | current network`. Some parameters can be empty. -On our bridge currently supports the following token types: Native / ERC20 / ERC721 / ERC1155 / MetaplexFT / MetaplexNFT / NearFT / NearNFT +On our bridge currently supports the following token types: Native / ERC20 / ERC721 / ERC1155 / MetaplexFT / +MetaplexNFT / NearFT / NearNFT ---- @@ -50,12 +64,17 @@ On our bridge currently supports the following token types: Native / ERC20 / ERC ## Bridging flow -1. User wants to transfer the token from the current chain to the target one. For this, user submits a deposit transaction to the current chain bridge smart-contract. -2. Any other external services (or users by themselves) submit deposit information into the core service. Core service performs transaction validation before adding them to the ledger. +1. User wants to transfer the token from the current chain to the target one. For this, user submits a deposit + transaction to the current chain bridge smart-contract. +2. Any other external services (or users by themselves) submit deposit information into the core service. Core service + performs transaction validation before adding them to the ledger. 3. External services (signature producers) observe new operations in the core state and add them to the local pool. -4. Signature producers combine deposits into the Merkle tree, produce the threshold signature, and submit that info to the core. Core service performs the Merkle tree data and signature validation before adding it to the ledger. -5. After signed deposit information appears in the core state it becomes possible to call the withdrawal operation on the target network. -6. Smart-contract on the target network validates information about the deposit, Merkle path, and signature for the Merkle root, and performs a token withdrawal. +4. Signature producers combine deposits into the Merkle tree, produce the threshold signature, and submit that info to + the core. Core service performs the Merkle tree data and signature validation before adding it to the ledger. +5. After signed deposit information appears in the core state it becomes possible to call the withdrawal operation on + the target network. +6. Smart-contract on the target network validates information about the deposit, Merkle path, and signature for the + Merkle root, and performs a token withdrawal. diff --git a/docs/common/contracts/003-commission.md b/docs/common/contracts/003-commission.md index a289a9af..a783f55e 100644 --- a/docs/common/contracts/003-commission.md +++ b/docs/common/contracts/003-commission.md @@ -1,3 +1,8 @@ +--- +layout: default +title: Commission overview +--- + # Commission overview The bridge feature is the main component of Rarimo cross-chain messaging protocol. @@ -5,6 +10,7 @@ To maintain successful work and reward validators and other people that support should charge protocol usage fee. Protocol fee in Rarimo will be charged for every type of cross-chain token transfer: + - Native - FT - and NFT transfers. @@ -16,8 +22,10 @@ For every transfer we will charge a constant amount on start and prepare ground ## Architecture In parameters, fee smart contract should contain the acceptable token addresses list, -amount for every token to be charged and bridge contract address. Those parameters should be managed by threshold signature. -To check the signature fee contract should execute a cross-contract call to the bridge contract to fetch the threshold public key. +amount for every token to be charged and bridge contract address. Those parameters should be managed by threshold +signature. +To check the signature fee contract should execute a cross-contract call to the bridge contract to fetch the threshold +public key. ---- @@ -28,11 +36,12 @@ address of selected fee token. Deposit method should check if the provided token If everything is well, deposit method performs charging of the corresponding fee amount and executes deposit method on the bridge contract. - Lets described flow more accurately: + 1. User selects the fee token and calls the deposit method on the fee contract. 2. Fee contract checks if the token is available to be charged fee in, and gets the fee amount. -3. Fee contract charges a fee amount from the user. (If it is EVM or Near, the approval token method should be called before by the user). +3. Fee contract charges a fee amount from the user. (If it is EVM or Near, the approval token method should be called + before by the user). 4. If charging was successful, the fee contract calls a bridge contract with provided deposit arguments. Also bridge smart-contract should be extended to receive deposit calls only from corresponding fee smart-contract. @@ -50,10 +59,12 @@ The public key should be taken from the bridge contract state. ## Management -For managing fee tokens, fee smart-contract should implement the **AddFeeToken**, **UpdateFeeToken**, **RemoveFeeToken**, +For managing fee tokens, fee smart-contract should implement the **AddFeeToken**, **UpdateFeeToken**, **RemoveFeeToken +**, **Withdraw** methods that accept token information and signature for corresponding hash. Let’s define the operation type enum with the following fields: + ``` 0 => AddFeeToken 1 => RemoveFeeToken @@ -64,30 +75,31 @@ Let’s define the operation type enum with the following fields: Let’s described flow more accurately: 1. Core provides signature and data to be changed on the fee contract. - For the AddFeeToken, UpdateFeeToken and RemoveFeeToken operation it should be: - __HASH( - nonce 32 byte, - contract addr, - network name, - operation type, - token addr if non-native otherwise none (in evm 20 zero bytes for native), - amount - )__ + For the AddFeeToken, UpdateFeeToken and RemoveFeeToken operation it should be: + __HASH( + nonce 32 byte, + contract addr, + network name, + operation type, + token addr if non-native otherwise none (in evm 20 zero bytes for native), + amount + )__ 2. For the withdrawal operation it should be: - __HASH( - nonce 32 byte, - receiver address, - contract addr, - network name, - operation type, - token addr if non-native otherwise none (in evm 20 zero bytes for native), - amount - )__ + __HASH( + nonce 32 byte, + receiver address, + contract addr, + network name, + operation type, + token addr if non-native otherwise none (in evm 20 zero bytes for native), + amount + )__ 3. Someone submits that information to the fee smart-contract. -4. Fee contract calculates hash of provided data and checks that signature public key corresponds to the key on bridge smart contract. +4. Fee contract calculates hash of provided data and checks that signature public key corresponds to the key on bridge + smart contract. 5. If all checks were correct, fee smart-contract updates state according to the provided information. @@ -95,5 +107,6 @@ Let’s described flow more accurately: ## Conclusion -On different networks the smart contracts architecture can be may differ from what is described cause of chain smart contracts peculiarities. +On different networks the smart contracts architecture can be may differ from what is described cause of chain smart +contracts peculiarities. Explore every contract by yourself to gent better understanding. diff --git a/docs/common/core/001-adding-operation.md b/docs/common/core/001-adding-operation.md index ea66a96b..1ded4e65 100644 --- a/docs/common/core/001-adding-operation.md +++ b/docs/common/core/001-adding-operation.md @@ -1,35 +1,44 @@ +--- +layout: default +title: Adding new operation +--- + # Adding new operation To provide TSS signature core uses operations and confirmation entities. Operation entity represents some data to be signed by threshold signature producers. -Confirmation entity represents information about signature: indexes list, merkle root based on provided list and signature. +Confirmation entity represents information about signature: indexes list, merkle root based on provided list and +signature. Operation entity contains the following fields: + ```protobuf - message Operation { - string index = 1; - opType operationType = 2; - google.protobuf.Any details = 3; - opStatus status = 4; - string creator = 5; - uint64 timestamp = 6; - } +message Operation { + string index = 1; + opType operationType = 2; + google.protobuf.Any details = 3; + opStatus status = 4; + string creator = 5; + uint64 timestamp = 6; +} ``` -- index is the unique string that should be deterministic created depending on operation data -- operation type defines the type of operation details -- details contain any necessary information about operation to provide signature for -- status defines the current status of operation (signed, approved, initialize, etc.) -- creator defines the creator of certain operation -- timestamp contains the unix block timestamp then operation was created (the timestamp should be received from the context) +- `index` is the unique string that should be deterministic created depending on operation data +- `operationType` defines the type of operation details +- `details` contain any necessary information about operation to provide signature for +- `status` defines the current status of operation (signed, approved, initialize, etc.) +- `creator` defines the creator of certain operation +- `timestamp` contains the unix block timestamp then operation was created (the timestamp should be received from the + context) ---- **To add new operation developer should lead the following steps:** -1. Add operation data definition in the `proto/rarimocore`. Example: -
- proto/ratimocore/op_fee_token_management.proto +1. Add operation data definition in the `proto/rarimocore`. + + Example: + ___proto/ratimocore/op_fee_token_management.proto___ ```protobuf enum FeeTokenManagementType { @@ -46,11 +55,11 @@ Operation entity contains the following fields: string receiver = 4; } ``` -
- Also, add new operation type in `proto/rarimocore/operation.proto`. -
- proto/rarimocore/operation.proto + Also, add new operation type in `proto/rarimocore/operation.proto`. + + Example: + ___proto/rarimocore/operation.proto___ ```protobuf enum opType { @@ -59,14 +68,12 @@ Operation entity contains the following fields: FEE_TOKEN_MANAGEMENT = 2; } ``` -
----- +2. In `x/rarimocore/crypto/operation` define the operation content that should implement `merkle.Content` interface + from `merkle "github.com/rarimo/go-merkle"`. -2. In `x/rarimocore/crypto/operation` define the operation content that should implement `merkle.Content` interface from `merkle "github.com/rarimo/go-merkle"`. - Example: -
- x/rarimocore/crypto/operation/op_fee_token_management.go + Example: + ___x/rarimocore/crypto/operation/op_fee_token_management.go___ ```go package operation @@ -106,17 +113,15 @@ Operation entity contains the following fields: return false } ``` -
- ----- - + 3. In `x/rarimocore/crypto/pkg` define the following methods: `Get{op name}` and `Get{op name} content`. - Example: -
- x/rarimocore/crypto/operation/op_fee_token_management.go + Example: + ___x/rarimocore/crypto/operation/op_fee_token_management.go___ ```go + package operation + func GetFeeTokenManagement(operation types.Operation) (*types.FeeTokenManagement, error) { if operation.OperationType == types.OpType_FEE_TOKEN_MANAGEMENT { op := new(types.FeeTokenManagement) @@ -134,65 +139,101 @@ Operation entity contains the following fields: Data: data.NewFeeTokenDataBuilder().SetOpType(op.OpType).SetAmount(op.Token.Amount).SetAmount(op.Token.Amount).Build().GetContent(), }, nil } - ``` -
- - **Tips**: explore the `x/rarimocore/crypto/operation/data` and `x/rarimocore/crypto/operation/origin` packages to use some useful utils from it or add the new if required. - ----- - -4. In the `x/rarimocore/keeper` define function that creates the operation and define function call where it is required. ----- + ``` -5. In the `x/rarimocore/keeper/msg_server_confirmation.go` extend the existing logic of `getContent(ctx sdk.Context, op types.Operation) (merkle.Content, error)` method. - For example add: - ```go + **Tips**: explore the `x/rarimocore/crypto/operation/data` and `x/rarimocore/crypto/operation/origin` packages to use + some useful utils from it or add the new if required. + +4. Add Get{op name}Content method and the corresponding case block to the `x/rarimocore/crypto/pkg/content/main.go` + + Example: + ___x/rarimocore/crypto/pkg/content/main.go___ + + ```go + case types.OpType_FEE_TOKEN_MANAGEMENT: + content, err := GetFeeManagementContent(client, op) + if err != nil { + return nil, err + } + + if content != nil { + contents = append(contents, content) + } + ``` + + ```go + package content + + func GetFeeManagementContent(client *grpc.ClientConn, op *types.Operation) (merkle.Content, error) { + manage, err := pkg.GetFeeTokenManagement(*op) + if err != nil { + return nil, errors.Wrap(err, "error parsing operation details") + } + + networkResp, err := token.NewQueryClient(client).NetworkParams(context.TODO(), &token.QueryNetworkParamsRequest{Name: manage.Chain}) + if err != nil { + return nil, errors.Wrap(err, "error getting network param entry") + } + + feeparams := networkResp.Params.GetFeeParams() + if err != nil { + return nil, errors.New("bridge params not found") + } + + content, err := pkg.GetFeeTokenManagementContent(feeparams, manage) + return content, errors.Wrap(err, "error creating content") + } + ``` + +5. In the `x/rarimocore/keeper` define function that creates the operation and define function call where it is + required. + +6. In the `x/rarimocore/keeper/msg_server_confirmation.go` extend the existing logic + of `getContent(ctx sdk.Context, op types.Operation) (merkle.Content, error)` method. + For example add: + + ```go case types.OpType_FEE_TOKEN_MANAGEMENT: - manage, err := pkg.GetFeeTokenManagement(op) - if err != nil { - return nil, sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "failed to unmarshal details") - } - return k.getFeeTokenManagementContent(ctx, op.Index, manage) - ``` - -
- Example - - ```go - func (k msgServer) getContent(ctx sdk.Context, op types.Operation) (merkle.Content, error) { - switch op.OperationType { - case types.OpType_TRANSFER: - transfer, err := pkg.GetTransfer(op) - if err != nil { - return nil, sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "failed to unmarshal details") - } - - return k.getTransferOperationContent(ctx, transfer) - case types.OpType_CHANGE_PARTIES: - change, err := pkg.GetChangeParties(op) - if err != nil { - return nil, sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "failed to unmarshal details") - } - - return pkg.GetChangePartiesContent(change) - case types.OpType_FEE_TOKEN_MANAGEMENT: - manage, err := pkg.GetFeeTokenManagement(op) - if err != nil { + manage, err := pkg.GetFeeTokenManagement(op) + if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "failed to unmarshal details") - } - return k.getFeeTokenManagementContent(ctx, op.Index, manage) - default: - return nil, sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "invalid operation") } - } - ``` -
- ----- - -6. Also, you can provide additional logic in `ApplyOperation(ctx sdk.Context, op types.Operation) error` to execute some stuff after signing if required. - ----- - -7. Extend `tss-svc` service ` GetContents(client *grpc.ClientConn, operations ...*rarimo.Operation) ([]merkle.Content, error)` method in `internal/core/controllers/util.go` to include new operation in the signing process. + return k.getFeeTokenManagementContent(ctx, op.Index, manage) + ``` + + Example: + + ```go + func (k msgServer) getContent(ctx sdk.Context, op types.Operation) (merkle.Content, error) { + switch op.OperationType { + case types.OpType_TRANSFER: + transfer, err := pkg.GetTransfer(op) + if err != nil { + return nil, sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "failed to unmarshal details") + } + + return k.getTransferOperationContent(ctx, transfer) + case types.OpType_CHANGE_PARTIES: + change, err := pkg.GetChangeParties(op) + if err != nil { + return nil, sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "failed to unmarshal details") + } + + return pkg.GetChangePartiesContent(change) + case types.OpType_FEE_TOKEN_MANAGEMENT: + manage, err := pkg.GetFeeTokenManagement(op) + if err != nil { + return nil, sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "failed to unmarshal details") + } + return k.getFeeTokenManagementContent(ctx, op.Index, manage) + default: + return nil, sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "invalid operation") + } + } + ``` + +7. Also, you can provide additional logic in `ApplyOperation(ctx sdk.Context, op types.Operation) error` to execute some + stuff after signing if required. + +8. Update the core dependency version in `tss-svc`. (It will use methods that you've defined in 4) diff --git a/docs/common/core/002-creating-genesis.md b/docs/common/core/002-creating-genesis.md index 8b7534bd..f2d4f15d 100644 --- a/docs/common/core/002-creating-genesis.md +++ b/docs/common/core/002-creating-genesis.md @@ -1,31 +1,42 @@ -# Setup local genesis state +--- +layout: default +title: Setup local genesis state +--- + +# Setup local genesis state ### Creating validator key + ```shell rarimo-cored keys add validator_key --keyring-backend test --home=./genesis ``` ### Exporting validator address + ```shell export MY_VALIDATOR_ADDRESS=rarimo10efu3md78z8qhlzjsx8u0kq3p7j3uhhf80yp5u ``` ### Init chain + ```shell rarimo-cored init main --chain-id rarimo-core --home=./genesis ``` ### Adding account to genesis + ```shell rarimo-cored add-genesis-account $MY_VALIDATOR_ADDRESS 1000000000000stake --home=./genesis ``` ### Generating add-validator transaction + ```shell rarimo-cored gentx validator_key 10000000000stake --chain-id rarimo-core --keyring-backend test --home=./genesis ``` ### Importing transaction into genesis file + ```shell rarimo-cored collect-gentxs --home=./genesis ``` diff --git a/docs/common/mainnet/001-mainnet.md b/docs/common/mainnet/001-mainnet.md index af7ca112..f330aa28 100644 --- a/docs/common/mainnet/001-mainnet.md +++ b/docs/common/mainnet/001-mainnet.md @@ -1,3 +1,8 @@ +--- +layout: default +title: Mainnet information +--- + # Mainnet information * [Upgrades](./002-upgrades.md) @@ -17,9 +22,9 @@ ## RPC Node -```Tendermint API:``` [core-api.mainnet.rarimo.com](https://core-api.mainnet.rarimo.com) +```Cosmos API:``` [core-api.mainnet.rarimo.com](https://core-api.mainnet.rarimo.com) -```Cosmos API:``` [rpc.mainnet.rarimo.com](https://rpc.mainnet.rarimo.com) +```Tendermint API:``` [rpc.mainnet.rarimo.com](https://rpc.mainnet.rarimo.com) ```Swagger API:``` [rpc-api.mainnet.rarimo.com](https://rpc-api.mainnet.rarimo.com) diff --git a/docs/common/mainnet/002-upgrades.md b/docs/common/mainnet/002-upgrades.md index e83cbec0..bea5092b 100644 --- a/docs/common/mainnet/002-upgrades.md +++ b/docs/common/mainnet/002-upgrades.md @@ -1,36 +1,67 @@ +--- +layout: default +title: Mainnet upgrades +--- + # Mainnet upgrades +## V1.1.0 + +Core binary: ( +alpine-linux/amd64): "". + +Also, you can build core from sources by yourself: use <"https://github.com/rarimo/rarimo-core/releases/tag/v1.1.0"> +release information. + +Upgrade will perform automatically if you are using `cosmovisor` under Alpine linux. + +Also, if you are using Ubuntu linux, please install `musl-dev` using `sudo apt install musl-dev` command to be able to +use Alpine binary on your machine. + +Upgrade v1.1.0 introduces a couple of features for identity transfers: + +- New WorldCoin identity transfer +- Fix for the Iden3 identity transfers: GIST and state transfers are split into two different operations. +- Double-sending of confirmation messages will not cause TX error. + ## V1.0.7 + Core binary: (alpine-linux/amd64): "". -Also, you can build core from sources by yourself: Use <"https://github.com/rarimo/rarimo-core"> repo and `chains/mainnet` branch. +Also, you can build core from sources by yourself: Use <"https://github.com/rarimo/rarimo-core"> repo +and `chains/mainnet` branch. Upgrade will perform automatically if you are using `cosmovisor` under Alpine linux. -Also, if you are using Ubuntu linux, please install `musl-dev` using `sudo apt install musl-dev` command to be able to use Alpine binary on your machine. +Also, if you are using Ubuntu linux, please install `musl-dev` using `sudo apt install musl-dev` command to be able to +use Alpine binary on your machine. Upgrade v1.0.7 introduces fixes to the `rarimocore` module: + - Adding feature to clear old TSS violation reports. -- Manual unfreeze of all TSS parties without necessity to reshare keys. +- Manual unfreeze of all TSS parties without necessity to reshare keys. ## V1.0.6 Core binary: (alpine-linux/amd64): "" Upgrade will perform automatically if you are using `cosmovisor` under Alpine linux. -Also, if you are using Ubuntu linux, please install `musl-dev` using `sudo apt install musl-dev` command to be able to use Alpine binary on your machine. +Also, if you are using Ubuntu linux, please install `musl-dev` using `sudo apt install musl-dev` command to be able to +use Alpine binary on your machine. Upgrade V1.0.6 introduces: + - Adding message for operation resign by Threshold signature producers. - Changing of stored TSS pub-key format: removing constant 0x04 prefix. -- Adding `admin` field in supported network BridgeParams that will contain the pub-key of the bridge admin on Solana. -- Some minor fixes in: several operation creation entrypoints, updating params of the supported networks, +- Adding `admin` field in supported network BridgeParams that will contain the pub-key of the bridge admin on Solana. +- Some minor fixes in: several operation creation entrypoints, updating params of the supported networks, ## V1.0.5 Core binary: (alpine-linux/amd64): "" Upgrade will perform automatically if you are using `cosmovisor` under Alpine linux. -Also, if you are using Ubuntu linux, please install `musl-dev` using `sudo apt install musl-dev` command to be able to use Alpine binary on your machine. +Also, if you are using Ubuntu linux, please install `musl-dev` using `sudo apt install musl-dev` command to be able to +use Alpine binary on your machine. Upgrade v1.0.5 introduces several fixes: @@ -42,18 +73,22 @@ Upgrade v1.0.5 introduces several fixes: Core binary (linux/amd64): "" Upgrade will perform automatically if you are using `cosmovisor` under Alpine linux. -Also, if you are using Ubuntu linux, please install `musl-dev` using `sudo apt install musl-dev` command to be able to use Alpine binary on your machine. +Also, if you are using Ubuntu linux, please install `musl-dev` using `sudo apt install musl-dev` command to be able to +use Alpine binary on your machine. Upgrade v1.0.4 introduces `identity` core module that is responsible for storing aggregated information about -identity state transitions published into Rarimo chain. It uses deployed into Rarimo EVM original Iden3 state smart-contracts. +identity state transitions published into Rarimo chain. It uses deployed into Rarimo EVM original Iden3 state +smart-contracts. Also, there was a couple of fixes in Rarimo evm part and other modules. -`rarimocore` and `oraclemanager` modules genesis `freezedBlock` parameters was set to `103680` that is equal to 2x `gov` voting time. +`rarimocore` and `oraclemanager` modules genesis `freezedBlock` parameters was set to `103680` that is equal to 2x `gov` +voting time. `feemanager` module `baseFee` parameter was set to 0 to disable fee for EVM transactions. Also, we introduce new version of the following services: + - tss-svc:v1.0.4 Link:"" @@ -64,21 +99,24 @@ Also, we introduce new version of the following services: Note, that there is a couple of changes in `evm-identity-saver-svc` config file: Old: + ```yaml state_contract_cfg: issuer_id: "24681524151353338075533135666067797260271579497198610066639546696060309762" ``` New: + ```yaml state_contract_cfg: - issuer_id: [''] + issuer_id: [ '' ] disable_filtration: true ``` Also, there are some updates in Rarimo node configuration: config.toml: + ```yaml max_subscriptions_per_client = 50 ``` @@ -86,4 +124,5 @@ max_subscriptions_per_client = 50 ---- ## v1.0.1 + Mainnet launched! diff --git a/docs/common/mainnet/003-validator-guide.md b/docs/common/mainnet/003-validator-guide.md index 78264f47..a9942da0 100644 --- a/docs/common/mainnet/003-validator-guide.md +++ b/docs/common/mainnet/003-validator-guide.md @@ -1,9 +1,15 @@ +--- +layout: default +title: Validators' Guide +--- + # Validators' Guide This instruction tells how to start one or another system service. It is assumed that you are already familiar with Linux and are fluent in it Service start order: + 1. node (rarimo-core) 2. broadcaster-svc 3. evm-identity-saver-svc @@ -22,6 +28,7 @@ APP file: "" Rarimo core binary (linux/amd64): "" To, generate validator configs, use: + - `rarimo-core` file in link. - node ip connect: `34.66.205.183`. Use for submitting TX as well as for p2p connection. @@ -30,6 +37,7 @@ Also use the following P2P connection to our RPC node: `39072210913bb52a6444543a Execute te following scripts: Set Envs + ```bash export MONIKER_NAME=YOU_VALIDATOR_NAME export RARIMO_HOME=YOU_RARIMO_HOME_PATH @@ -37,6 +45,7 @@ export RARIMO_NODE=tcp://34.66.205.183:26657 ``` Init folder structure: + ```bash rarimo-core init $MONIKER_NAME --chain-id=rarimo_201411-1 --home=$RARIMO_HOME ``` @@ -44,6 +53,7 @@ rarimo-core init $MONIKER_NAME --chain-id=rarimo_201411-1 --home=$RARIMO_HOME Paste custom `genesis.json` and `app.toml` in `$RARIMO_HOME/config/` folder. Create validator private key: + ```bash rarimo-core keys add --keyring-backend test --home=$RARIMO_HOME ``` @@ -53,16 +63,19 @@ Save your mnemonic and address. That address will be used for your validator sta Send you address (rarimo...) to `yp@distributedlab.com` or `vl@distributedlab.com`. To setup broadcaster service later you will need a private key. Use your mnemonic to get ECDSA private key (0x...): + ```bash rarimo-core tx rarimocore parse-mnemonic 'mnemonic phrase' ``` Also, add environment var with created address: + ```bash export LOCAL_VALIDATOR_ADDRESS=rarimo... ``` Please, backup the following files and folders: + ```bash $RARIMO_HOME/config/priv_validator_key.json $RARIMO_HOME/config/node_key.json @@ -70,28 +83,32 @@ $RARIMO_HOME/keyring-test ``` Check validator seed: + ```bash rarimo-core tendermint show-node-id --home=$RARIMO_HOME ``` Check key exists in keystore: + ```bash rarimo-core keys show $LOCAL_VALIDATOR_ADDRESS --keyring-backend test --home=$RARIMO_HOME ``` To run use env variables: + ```yaml - name: DAEMON_NAME value: "rarimo-core" -- name: DAEMON_HOME + - name: DAEMON_HOME value: $RARIMO_HOME -- name: DAEMON_ALLOW_DOWNLOAD_BINARIES + - name: DAEMON_ALLOW_DOWNLOAD_BINARIES value: "true" ``` Use the following command to start your node: + ```bash mkdir -p $DAEMON_HOME/cosmovisor/genesis/bin && cp YOU_STORE_CORE_BIN(name rarimo-core) $DAEMON_HOME/cosmovisor/genesis/bin && cosmovisor run start --home=$RARIMO_HOME --rpc.laddr tcp://0.0.0.0:26657 ``` @@ -132,6 +149,7 @@ cosmos: ``` You will also need some environment variables to run: + ```yaml - name: KV_VIPER_FILE value: /config/config.yaml # The path to your config file @@ -140,16 +158,19 @@ You will also need some environment variables to run: The execution of 2 following commands is required for launch: 1. To perform migrations + ```bash broadcaster-svc migrate up ``` 2. To start the service + ```bash broadcaster-svc run all ``` Also, you can run these commands together like this: + ```bash broadcaster-svc migrate up && broadcaster-svc run all ``` @@ -158,7 +179,8 @@ broadcaster-svc migrate up && broadcaster-svc run all ## EVM identity saver -EVM identity saver service binary (linux/amd64): "" +EVM identity saver service binary ( +linux/amd64): "" Currently, it should be one instance per account only for Polygon. @@ -208,11 +230,12 @@ profiler: ## Issuer information state_contract_cfg: - issuer_id: [''] + issuer_id: [ '' ] disable_filtration: true ``` Also, some environment variables will be needed to run + ```yaml - name: KV_VIPER_FILE value: /config/config.yaml # is the path to your config file @@ -222,6 +245,7 @@ Oracle service requires staking of some RMO tokens in Rarimo chain. Please, **do not start** the service before we confirm your oracle staking. To start the service (in vote mode) use the following command: + ```bash evm-identity-saver-svc run state-update-voter ``` @@ -240,7 +264,7 @@ To become an active TSS you need to follow that steps: rarimo-core keys add --keyring-backend test --home=$TSS_HOME ``` - Also, you need to parse mnemonic to get corresponding private key: +Also, you need to parse mnemonic to get corresponding private key: ```shell rarimo-core tx rarimocore parse-mnemonic 'mnemonic phrase' @@ -258,26 +282,27 @@ To become an active TSS you need to follow that steps: tss-svc run prvgen ``` -4. Setup the Vault service and create secret for your tss (type KV version 2). Secret should contain the following credentials: +4. Setup the Vault service and create secret for your tss (type KV version 2). Secret should contain the following + credentials: - * "data": "Leave empty" +* "data": "Leave empty" - * "pre": "Generated pre params JSON" +* "pre": "Generated pre params JSON" - * "account": "Your Rarimo account hex key" +* "account": "Your Rarimo account hex key" - * "trial": "Generated Trial ECDSA private key hex" +* "trial": "Generated Trial ECDSA private key hex" - JSON example: +JSON example: ```json { - "tls": true, - "data": "", - "pre": "pre-generated-secret-data", - "account": "rarimo-account-private-key-hex-leading-0x", - "trial": "trial-ecdsa-private-key-hex-leading-0x" - } + "tls": true, + "data": "", + "pre": "pre-generated-secret-data", + "account": "rarimo-account-private-key-hex-leading-0x", + "trial": "trial-ecdsa-private-key-hex-leading-0x" +} ``` 5. Create a configuration file `config.yaml` with the following structure: @@ -324,18 +349,18 @@ To become an active TSS you need to follow that steps: coin_name: "urmo" ``` - Set up host environment: +Set up host environment: ```yaml - name: KV_VIPER_FILE value: /config/config.yaml # is the path to your config file - - name: VAULT_PATH + - name: VAULT_PATH value: http://vault-internal:8200 # your vault endpoint - - name: VAULT_TOKEN + - name: VAULT_TOKEN value: "" # your vault token ("root"/"read/write") - - name: MOUNT_PATH + - name: MOUNT_PATH value: secret - - name: SECRET_PATH + - name: SECRET_PATH value: tss # name of the secret path vault (type KV version 2) ``` @@ -345,11 +370,12 @@ To become an active TSS you need to follow that steps: tss-svc migrate up && tss-svc run service ``` -7. After launching of your service, share your tss-svc URL, rarimo account address and ECDSA public key with `yp@distributedlab.com` or `vl@distributedlab.com`. +7. After launching of your service, share your tss-svc URL, rarimo account address and ECDSA public key + with `yp@distributedlab.com` or `vl@distributedlab.com`. - Note, that your TSS service should be accessible only using secure TLS connection. +Note, that your TSS service should be accessible only using secure TLS connection. - After some period your TSS will generate new keys with other active parties and become an active party. +After some period your TSS will generate new keys with other active parties and become an active party. ---- @@ -369,31 +395,37 @@ Congratulations, you are the Rarimo Mainnet validator! ## Useful commands Query delegator rewards for all validators: + ```shell rarimo-core query distribution rewards [delegator address rarimo...] --node=https://rpc.mainnet.rarimo.com:443 ``` or for certain validator: + ```shell rarimo-core query distribution rewards [delegator address rarimo...] [valdidator address rarimovaloper...] --node=https://rpc.mainnet.rarimo.com:443 ``` Query un-withdrawn rewards: + ```shell rarimo-core query distribution validator-outstanding-rewards [valdidator address rarimovaloper...] --node=https://rpc.mainnet.rarimo.com:443 ``` Query validator commission: + ```shell rarimo-core query distribution commission rarimovaloper... --node=https://rpc.mainnet.rarimo.com:443 ``` Withdraw all validator rewards for a delegator: + ```shell rarimo-core tx distribution withdraw-all-rewards --from=rarimo... --node=https://rpc.mainnet.rarimo.com:443 --home=path-to-home-with-keyring ``` Withdraw certain validator rewards for a delegator (add `--commission` flag to withdraw commissions also): + ```shell rarimo-core tx distribution withdraw-rewards rarimovaloper1... --from rarimo... --commission --node=https://rpc.mainnet.rarimo.com:443 --home=path-to-home-with-keyring ``` diff --git a/docs/common/oracles/001-oracles.md b/docs/common/oracles/001-oracles.md index 47fb3e29..a44d0c9b 100644 --- a/docs/common/oracles/001-oracles.md +++ b/docs/common/oracles/001-oracles.md @@ -1,3 +1,8 @@ +--- +layout: default +title: Oracles (Savers) +--- + # Oracles (Savers) - Repo: [Saver Lib](https://github.com/rarimo/saver-grpc-lib) @@ -20,10 +25,12 @@ verify events delivered from other oracles. In particular oracles should observe create transfer operations, submit them into the core and vote for correctness of submitted operations. The oracle services designed to be launched by anyone in two supported modes: + - saver (connects to the chain rpc and submits new transfer operations to the Rarimo core) - voter (fetches new operations from core, verifies the content and votes for its correctness) Currently, there are three implementations exists: + - evm-saver (used with any evm-compatible chains) - solana-saver (used with any solana-compatible chains) - near-saver (used with any near-compatible chains) @@ -33,31 +40,41 @@ Currently, there are three implementations exists: ## Logic ### Native and FT + For native and fungible tokens all information should be pre-defined in collections of `tokenmanager` module. So oracles should only fetch the corresponding data and submit it in `MsgCreateTransferOp` transaction. ### NFT + NFT tokens collection can contain huge amount of tokens under it, and also they can be minted if future. -So we can not define all tokens in core during initialization or token add operation. That is why collections flow was created. +So we can not define all tokens in core during initialization or token add operation. That is why collections flow was +created. Using `tokenmanager` `Collection` and `CollectionData` we can define collection global and chain information regardless of the number of tokens in collection or their metadata. Token information (`Item` and `OnChainItem`) will be set up during the first token transfer. -During the first transfer oracles should fill the metadata field in `MsgCreateTransferOp` and provide all required token information to create `Item` and `OnChainItem`. +During the first transfer oracles should fill the metadata field in `MsgCreateTransferOp` and provide all required token +information to create `Item` and `OnChainItem`. -Token addresses are equal to the token collection addresses that is already defined in `Collection` but for token id we should provide more complicated implementation. +Token addresses are equal to the token collection addresses that is already defined in `Collection` but for token id we +should provide more complicated implementation. Let's describe the flow more accurately: -1. If token was already transferred between source and destination chain no additional actions required. Oracle just - fetches `OnChainItem` from core and leaves metadata field empty. +1. If token was already transferred between source and destination chain no additional actions required. Oracle just + fetches `OnChainItem` from core and leaves metadata field empty. + +2. If source `OnChainItem` exists but destination `OnChainItem` does no (it means that token never was transferred on + destination chain) + oracle should construct destination `OnChainItem` using the following rules: -2. If source `OnChainItem` exists but destination `OnChainItem` does no (it means that token never was transferred on destination chain) - oracle should construct destination `OnChainItem` using the following rules: - - if destination chain is Solana, tokenId should be derived using bridge address and seed from `Item` metadata (`Item` should exist cause `OnChainItem` exists) -- otherwise tokenId will be equal to the home chain tokenId (the chain where token was minted firstly). +- if destination chain is Solana, tokenId should be derived using bridge address and seed from `Item` metadata (`Item` + should exist cause `OnChainItem` exists) +- otherwise tokenId will be equal to the home chain tokenId (the chain where token was minted firstly). -3. If source `OnChainItem` does not exists it means that we are transferring token at first time and `Item` with its metadata also does not exist. - So oracle should create `Item` metadata which means fetching on-chain metadata and generation of solana seed. Then using paragraph 2 rules oracle constructs destination `OnChainItem`. - Source `OnChainItem`, which is home `OnChainItem`, can be constructed using deposit event information. +3. If source `OnChainItem` does not exists it means that we are transferring token at first time and `Item` with its + metadata also does not exist. + So oracle should create `Item` metadata which means fetching on-chain metadata and generation of solana seed. Then + using paragraph 2 rules oracle constructs destination `OnChainItem`. + Source `OnChainItem`, which is home `OnChainItem`, can be constructed using deposit event information. ---- @@ -65,7 +82,8 @@ Let's describe the flow more accurately: In `github.com/rarimo/saver-grpc-lib` we defined the common utils for all oracles. Every oracle should implement `verifiers.TransferOperator` interface for every supported token type -and put that implementations into the `voter.Subscriber` and `voter.Catchupper` using `verifiers.TransferVerifier` wrapper. +and put that implementations into the `voter.Subscriber` and `voter.Catchupper` using `verifiers.TransferVerifier` +wrapper. Also, we recommend to split `verifiers.TransferOperator` logic in two methods: verifier and message creator. It allows to use message creator while fetching new events and submitting them into core. @@ -74,7 +92,8 @@ It allows to use message creator while fetching new events and submitting them i ## Broadcaster integration -All oracles recommended to integrate with broadcaster service (`broadcaster-svc`) to submit queued transactions. Cause any transaction should contain valid account sequence +All oracles recommended to integrate with broadcaster service (`broadcaster-svc`) to submit queued transactions. Cause +any transaction should contain valid account sequence (is incremental value) it becomes problematically to submit concurrent transactions. So our oracles implementations use broadcaster service as an endpoint for sending messages using a queue. @@ -83,13 +102,18 @@ So our oracles implementations use broadcaster service as an endpoint for sendin ## Flow Saver mode flow: + 1. Oracle subscribes to the new events on bridge contract. 2. Oracle receives new event. 3. Oracle creates and submits `MsgCreateTransferOp` using `broadcaster-svc`. Voter mode flow: + 1. Oracle subscribes to the new operations on Rarimo core for defined oracle's chain. 2. Oracle receives new operation. -3. Oracle verifies operation and if it is correct submits `MsgVote` transaction with `YES` vote. Otherwise, oracle submits `MsgVote` transaction with `NO` vote. -4. After operation votes reaches `Quorum` (defined in `Rarimocore` module) `rarimocore` calculates the voting power and vote results. To become `APPROVED` there should be at least `Threshold` (defined in `Gov` module) percentage positive votes. - Otherwise, operation becomes `NOT_APPROVED`. +3. Oracle verifies operation and if it is correct submits `MsgVote` transaction with `YES` vote. Otherwise, oracle + submits `MsgVote` transaction with `NO` vote. +4. After operation votes reaches `Quorum` (defined in `Rarimocore` module) `rarimocore` calculates the voting power and + vote results. To become `APPROVED` there should be at least `Threshold` (defined in `Gov` module) percentage positive + votes. + Otherwise, operation becomes `NOT_APPROVED`. diff --git a/docs/common/oracles/002-running-identity-oracle.md b/docs/common/oracles/002-running-identity-oracle.md index fb7d424c..c94d0350 100644 --- a/docs/common/oracles/002-running-identity-oracle.md +++ b/docs/common/oracles/002-running-identity-oracle.md @@ -1,9 +1,14 @@ +--- +layout: default +title: Running saver (oracle) service +--- + # Running saver (oracle) service ## Broadcaster service The broadcaster service should be the only one entrypoint for submitting transactions from certain rarimo account. -All your oracle services that uses the same account should submit transaction though the same roadcaster service. +All your oracle services that uses the same account should submit transaction though the same broadcaster service. To start `broadcaster-svc` service you need a hex private key that will be used to sign messages. diff --git a/docs/common/testnet/001-testnet.md b/docs/common/testnet/001-testnet.md index 74a2ea2b..fe2984ba 100644 --- a/docs/common/testnet/001-testnet.md +++ b/docs/common/testnet/001-testnet.md @@ -1,3 +1,8 @@ +--- +layout: default +title: Testnet information +--- + # Testnet information * [Validator Guide](./002-validator-guide.md) @@ -10,15 +15,15 @@ ```Explorer:``` [scan.mainnet-beta.rarimo.com](https://scan.mainnet-beta.rarimo.com/) -```Denom name:``` ***urmo*** +```Denom name:``` ***stake*** ---- ## RPC Node -```Tendermint API:``` [core-api.mainnet-beta.rarimo.com](https://core-api.node1.mainnet-beta.rarimo.com/) +``` Cosmos API:``` [core-api.mainnet-beta.rarimo.com](https://core-api.node1.mainnet-beta.rarimo.com/) -```Cosmos API:``` [rpc.node1.mainnet-beta.rarimo.com](https://rpc.node1.mainnet-beta.rarimo.com/) +```Tendermint API:``` [rpc.node1.mainnet-beta.rarimo.com](https://rpc.node1.mainnet-beta.rarimo.com/) ```Swagger API:``` [rpc-api.node1.mainnet-beta.rarimo.com](https://rpc-api.node1.mainnet-beta.rarimo.com/) diff --git a/docs/common/testnet/002-validator-guide.md b/docs/common/testnet/002-validator-guide.md index 8c17a4bc..81379793 100644 --- a/docs/common/testnet/002-validator-guide.md +++ b/docs/common/testnet/002-validator-guide.md @@ -1,3 +1,8 @@ +--- +layout: default +title: Validators' Guide +--- + # Validators' Guide This instruction tells how to start one or another system service. diff --git a/docs/static/openapi.yml b/docs/static/openapi.yml index abe46e99..f408c656 100644 --- a/docs/static/openapi.yml +++ b/docs/static/openapi.yml @@ -50992,6 +50992,176 @@ paths: type: string tags: - Query + /rarimo/rarimo-core/oraclemanager/identity_gist_transfer: + get: + operationId: RarimoRarimocoreOraclemanagerIdentityGISTTransfer + responses: + '200': + description: A successful response. + schema: + type: object + properties: + transfer: + type: object + properties: + contract: + type: string + title: Hex 0x + chain: + type: string + GISTHash: + type: string + title: Hex 0x + GISTCreatedAtTimestamp: + type: string + title: Dec + GISTCreatedAtBlock: + type: string + replacedGISTHash: + type: string + title: HEX 0x + default: + description: An unexpected error response. + schema: + type: object + properties: + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + '@type': + type: string + additionalProperties: {} + parameters: + - name: msg.creator + in: query + required: false + type: string + - name: msg.contract + description: Hex 0x + in: query + required: false + type: string + - name: msg.chain + in: query + required: false + type: string + - name: msg.GISTHash + description: Hex 0x + in: query + required: false + type: string + - name: msg.GISTCreatedAtTimestamp + description: Dec + in: query + required: false + type: string + - name: msg.GISTCreatedAtBlock + in: query + required: false + type: string + - name: msg.replacedGISTtHash + description: HEx 0x + in: query + required: false + type: string + tags: + - Query + /rarimo/rarimo-core/oraclemanager/identity_state_transfer: + get: + operationId: RarimoRarimocoreOraclemanagerIdentityStateTransfer + responses: + '200': + description: A successful response. + schema: + type: object + properties: + transfer: + type: object + properties: + contract: + type: string + title: Hex 0x + chain: + type: string + id: + type: string + title: Hex 0x + stateHash: + type: string + title: Hex 0x + stateCreatedAtTimestamp: + type: string + title: Dec + stateCreatedAtBlock: + type: string + replacedStateHash: + type: string + title: HEX 0x + default: + description: An unexpected error response. + schema: + type: object + properties: + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + '@type': + type: string + additionalProperties: {} + parameters: + - name: msg.creator + in: query + required: false + type: string + - name: msg.contract + description: Hex 0x + in: query + required: false + type: string + - name: msg.chain + in: query + required: false + type: string + - name: msg.id + description: Hex 0x + in: query + required: false + type: string + - name: msg.stateHash + description: Hex 0x + in: query + required: false + type: string + - name: msg.stateCreatedAtTimestamp + description: Dec + in: query + required: false + type: string + - name: msg.stateCreatedAtBlock + in: query + required: false + type: string + - name: msg.replacedStateHash + description: HEx 0x + in: query + required: false + type: string + tags: + - Query /rarimo/rarimo-core/oraclemanager/oracle: get: operationId: RarimoRarimocoreOraclemanagerOracleAll @@ -51548,6 +51718,79 @@ paths: type: string tags: - Query + /rarimo/rarimo-core/oraclemanager/world_coin_identity_transfer: + get: + operationId: RarimoRarimocoreOraclemanagerWorldCoinIdentityTransfer + responses: + '200': + description: A successful response. + schema: + type: object + properties: + transfer: + type: object + properties: + contract: + type: string + chain: + type: string + prevState: + type: string + title: Hex 0x uint256 + state: + type: string + title: Hex 0x uint256 + timestamp: + type: string + title: Dec uint256 + default: + description: An unexpected error response. + schema: + type: object + properties: + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + '@type': + type: string + additionalProperties: {} + parameters: + - name: msg.creator + in: query + required: false + type: string + - name: msg.contract + in: query + required: false + type: string + - name: msg.chain + in: query + required: false + type: string + - name: msg.prevState + description: Hex 0x uint256 + in: query + required: false + type: string + - name: msg.state + description: Hex 0x uint256 + in: query + required: false + type: string + - name: msg.timestamp + description: Dec uint256 + in: query + required: false + type: string + tags: + - Query /rarimo/rarimo-core/rarimocore/confirmation: get: summary: Queries a list of Confirmation items. @@ -52093,6 +52336,9 @@ paths: - CONTRACT_UPGRADE - IDENTITY_DEFAULT_TRANSFER - IDENTITY_AGGREGATED_TRANSFER + - IDENTITY_GIST_TRANSFER + - IDENTITY_STATE_TRANSFER + - WORLDCOIN_IDENTITY_TRANSFER default: TRANSFER details: title: Corresponding to type details @@ -52580,6 +52826,9 @@ paths: - CONTRACT_UPGRADE - IDENTITY_DEFAULT_TRANSFER - IDENTITY_AGGREGATED_TRANSFER + - IDENTITY_GIST_TRANSFER + - IDENTITY_STATE_TRANSFER + - WORLDCOIN_IDENTITY_TRANSFER default: TRANSFER details: title: Corresponding to type details @@ -57096,6 +57345,7 @@ paths: - Solana - Near - Other + - Rarimo default: EVM params: type: array @@ -58479,6 +58729,7 @@ paths: - Solana - Near - Other + - Rarimo default: EVM params: type: array @@ -89612,6 +89863,55 @@ definitions: type: string rarimo.rarimocore.oraclemanager.MsgCreateIdentityDefaultTransferOpResponse: type: object + rarimo.rarimocore.oraclemanager.MsgCreateIdentityGISTTransferOp: + type: object + properties: + creator: + type: string + contract: + type: string + title: Hex 0x + chain: + type: string + GISTHash: + type: string + title: Hex 0x + GISTCreatedAtTimestamp: + type: string + title: Dec + GISTCreatedAtBlock: + type: string + replacedGISTtHash: + type: string + title: HEx 0x + rarimo.rarimocore.oraclemanager.MsgCreateIdentityGISTTransferOpResponse: + type: object + rarimo.rarimocore.oraclemanager.MsgCreateIdentityStateTransferOp: + type: object + properties: + creator: + type: string + contract: + type: string + title: Hex 0x + chain: + type: string + id: + type: string + title: Hex 0x + stateHash: + type: string + title: Hex 0x + stateCreatedAtTimestamp: + type: string + title: Dec + stateCreatedAtBlock: + type: string + replacedStateHash: + type: string + title: HEx 0x + rarimo.rarimocore.oraclemanager.MsgCreateIdentityStateTransferOpResponse: + type: object rarimo.rarimocore.oraclemanager.MsgCreateTransferOp: type: object properties: @@ -89670,6 +89970,26 @@ definitions: type: string rarimo.rarimocore.oraclemanager.MsgCreateTransferOpResponse: type: object + rarimo.rarimocore.oraclemanager.MsgCreateWorldCoinIdentityTransferOp: + type: object + properties: + creator: + type: string + contract: + type: string + chain: + type: string + prevState: + type: string + title: Hex 0x uint256 + state: + type: string + title: Hex 0x uint256 + timestamp: + type: string + title: Dec uint256 + rarimo.rarimocore.oraclemanager.MsgCreateWorldCoinIdentityTransferOpResponse: + type: object rarimo.rarimocore.oraclemanager.MsgStakeResponse: type: object rarimo.rarimocore.oraclemanager.MsgUnjailResponse: @@ -89882,6 +90202,53 @@ definitions: title: HEX 0x replacedGISTHash: type: string + rarimo.rarimocore.oraclemanager.QueryGetIdentityGISTTransferResponse: + type: object + properties: + transfer: + type: object + properties: + contract: + type: string + title: Hex 0x + chain: + type: string + GISTHash: + type: string + title: Hex 0x + GISTCreatedAtTimestamp: + type: string + title: Dec + GISTCreatedAtBlock: + type: string + replacedGISTHash: + type: string + title: HEX 0x + rarimo.rarimocore.oraclemanager.QueryGetIdentityStateTransferResponse: + type: object + properties: + transfer: + type: object + properties: + contract: + type: string + title: Hex 0x + chain: + type: string + id: + type: string + title: Hex 0x + stateHash: + type: string + title: Hex 0x + stateCreatedAtTimestamp: + type: string + title: Dec + stateCreatedAtBlock: + type: string + replacedStateHash: + type: string + title: HEX 0x rarimo.rarimocore.oraclemanager.QueryGetOracleForChainResponse: type: object properties: @@ -90042,6 +90409,25 @@ definitions: title: Seed is used to generate PDA address for Solana uri: type: string + rarimo.rarimocore.oraclemanager.QueryGetWorldCoinIdentityTransferResponse: + type: object + properties: + transfer: + type: object + properties: + contract: + type: string + chain: + type: string + prevState: + type: string + title: Hex 0x uint256 + state: + type: string + title: Hex 0x uint256 + timestamp: + type: string + title: Dec uint256 rarimo.rarimocore.oraclemanager.QueryParamsResponse: type: object properties: @@ -90110,6 +90496,47 @@ definitions: title: HEX 0x replacedGISTHash: type: string + rarimo.rarimocore.rarimocore.IdentityGISTTransfer: + type: object + properties: + contract: + type: string + title: Hex 0x + chain: + type: string + GISTHash: + type: string + title: Hex 0x + GISTCreatedAtTimestamp: + type: string + title: Dec + GISTCreatedAtBlock: + type: string + replacedGISTHash: + type: string + title: HEX 0x + rarimo.rarimocore.rarimocore.IdentityStateTransfer: + type: object + properties: + contract: + type: string + title: Hex 0x + chain: + type: string + id: + type: string + title: Hex 0x + stateHash: + type: string + title: Hex 0x + stateCreatedAtTimestamp: + type: string + title: Dec + stateCreatedAtBlock: + type: string + replacedStateHash: + type: string + title: HEX 0x rarimo.rarimocore.rarimocore.Transfer: type: object properties: @@ -90175,6 +90602,22 @@ definitions: - 'YES' - 'NO' default: 'YES' + rarimo.rarimocore.rarimocore.WorldCoinIdentityTransfer: + type: object + properties: + contract: + type: string + chain: + type: string + prevState: + type: string + title: Hex 0x uint256 + state: + type: string + title: Hex 0x uint256 + timestamp: + type: string + title: Dec uint256 rarimo.rarimocore.tokenmanager.ItemMetadata: type: object properties: @@ -90237,6 +90680,9 @@ definitions: - CONTRACT_UPGRADE - IDENTITY_DEFAULT_TRANSFER - IDENTITY_AGGREGATED_TRANSFER + - IDENTITY_GIST_TRANSFER + - IDENTITY_STATE_TRANSFER + - WORLDCOIN_IDENTITY_TRANSFER default: TRANSFER rarimo.rarimocore.rarimocore.Operation: type: object @@ -90253,6 +90699,9 @@ definitions: - CONTRACT_UPGRADE - IDENTITY_DEFAULT_TRANSFER - IDENTITY_AGGREGATED_TRANSFER + - IDENTITY_GIST_TRANSFER + - IDENTITY_STATE_TRANSFER + - WORLDCOIN_IDENTITY_TRANSFER default: TRANSFER details: title: Corresponding to type details @@ -90599,6 +91048,9 @@ definitions: - CONTRACT_UPGRADE - IDENTITY_DEFAULT_TRANSFER - IDENTITY_AGGREGATED_TRANSFER + - IDENTITY_GIST_TRANSFER + - IDENTITY_STATE_TRANSFER + - WORLDCOIN_IDENTITY_TRANSFER default: TRANSFER details: title: Corresponding to type details @@ -90953,6 +91405,9 @@ definitions: - CONTRACT_UPGRADE - IDENTITY_DEFAULT_TRANSFER - IDENTITY_AGGREGATED_TRANSFER + - IDENTITY_GIST_TRANSFER + - IDENTITY_STATE_TRANSFER + - WORLDCOIN_IDENTITY_TRANSFER default: TRANSFER details: title: Corresponding to type details @@ -91428,6 +91883,7 @@ definitions: - Solana - Near - Other + - Rarimo default: EVM params: type: array @@ -91791,6 +92247,7 @@ definitions: - Solana - Near - Other + - Rarimo default: EVM rarimo.rarimocore.tokenmanager.OnChainItem: type: object @@ -91824,6 +92281,7 @@ definitions: - Solana - Near - Other + - Rarimo default: EVM params: type: array @@ -92580,6 +93038,7 @@ definitions: - Solana - Near - Other + - Rarimo default: EVM params: type: array @@ -92790,6 +93249,7 @@ definitions: - Solana - Near - Other + - Rarimo default: EVM params: type: array diff --git a/ethermint/crypto/ethsecp256k1/keys.pb.go b/ethermint/crypto/ethsecp256k1/keys.pb.go index d93f5de3..ab0fee9a 100644 --- a/ethermint/crypto/ethsecp256k1/keys.pb.go +++ b/ethermint/crypto/ethsecp256k1/keys.pb.go @@ -137,10 +137,10 @@ var fileDescriptor_0c10cadcf35beb64 = []byte{ 0xa7, 0x56, 0x4a, 0x30, 0x2a, 0x30, 0x6a, 0xf0, 0x04, 0x81, 0x98, 0x56, 0x2c, 0x33, 0x16, 0xc8, 0x33, 0x28, 0x49, 0x73, 0xb1, 0x07, 0x14, 0x65, 0x96, 0x61, 0x55, 0xe2, 0x14, 0x7a, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, - 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0xd6, 0xe9, 0x99, 0x25, 0x39, 0x89, 0x49, 0x7a, + 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0xd6, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x45, 0x89, 0x45, 0x99, 0xb9, 0xf9, 0x50, 0x4a, 0x37, 0x39, 0xbf, 0x28, 0x55, 0x1f, 0xc3, 0x6f, 0xc8, 0x6e, 0x4d, 0x62, 0x03, 0x3b, 0xce, 0x18, 0x10, 0x00, 0x00, 0xff, - 0xff, 0xe1, 0xdc, 0x22, 0xe0, 0x03, 0x01, 0x00, 0x00, + 0xff, 0x40, 0x73, 0xb8, 0x23, 0x03, 0x01, 0x00, 0x00, } func (m *PubKey) Marshal() (dAtA []byte, err error) { diff --git a/ethermint/indexer/kv_indexer_test.go b/ethermint/indexer/kv_indexer_test.go index 27df84c2..966df5e3 100644 --- a/ethermint/indexer/kv_indexer_test.go +++ b/ethermint/indexer/kv_indexer_test.go @@ -5,10 +5,10 @@ import ( "testing" "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/simapp/params" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/rarimo/rarimo-core/app" + "github.com/rarimo/rarimo-core/app/params" "github.com/rarimo/rarimo-core/ethermint/crypto/ethsecp256k1" evmenc "github.com/rarimo/rarimo-core/ethermint/encoding" "github.com/rarimo/rarimo-core/ethermint/indexer" @@ -37,7 +37,7 @@ func TestKVIndexer(t *testing.T) { txHash := tx.AsTransaction().Hash() encodingConfig := MakeEncodingConfig() - clientCtx := client.Context{}.WithTxConfig(encodingConfig.TxConfig).WithCodec(encodingConfig.Codec) + clientCtx := client.Context{}.WithTxConfig(encodingConfig.TxConfig).WithCodec(encodingConfig.Marshaler) // build cosmos-sdk wrapper tx tmTx, err := tx.BuildTx(clientCtx.TxConfig.NewTxBuilder(), "astake") diff --git a/ethermint/types/account.pb.go b/ethermint/types/account.pb.go index 5ff73c82..ea8064f2 100644 --- a/ethermint/types/account.pb.go +++ b/ethermint/types/account.pb.go @@ -88,9 +88,9 @@ var fileDescriptor_4edc057d42a619ef = []byte{ 0x82, 0x38, 0x40, 0x6c, 0x8f, 0xc4, 0xe2, 0x0c, 0x2b, 0x9e, 0x8e, 0x05, 0xf2, 0x0c, 0x33, 0x16, 0xc8, 0x33, 0xbc, 0x58, 0x20, 0xcf, 0xe0, 0xe4, 0x7e, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, - 0x72, 0x0c, 0x51, 0xba, 0xe9, 0x99, 0x25, 0x39, 0x89, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x45, + 0x72, 0x0c, 0x51, 0xba, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x45, 0x89, 0x45, 0x99, 0xb9, 0xf9, 0x50, 0x4a, 0x37, 0x39, 0xbf, 0x28, 0x55, 0x1f, 0x2d, 0x54, 0x93, - 0xd8, 0xc0, 0x21, 0x60, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x0b, 0xe8, 0x30, 0x36, 0x6f, 0x01, + 0xd8, 0xc0, 0x21, 0x60, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xfe, 0xef, 0x2b, 0x83, 0x6f, 0x01, 0x00, 0x00, } diff --git a/ethermint/types/dynamic_fee.pb.go b/ethermint/types/dynamic_fee.pb.go index ca7cf604..8bdd8930 100644 --- a/ethermint/types/dynamic_fee.pb.go +++ b/ethermint/types/dynamic_fee.pb.go @@ -72,7 +72,7 @@ func init() { } var fileDescriptor_9d7cf05c9992c480 = []byte{ - // 246 bytes of a gzipped FileDescriptorProto + // 241 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x49, 0x2d, 0xc9, 0x48, 0x2d, 0xca, 0xcd, 0xcc, 0x2b, 0xd1, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2f, 0x33, 0xd4, 0x4f, 0xa9, 0xcc, 0x4b, 0xcc, 0xcd, 0x4c, 0x8e, 0x4f, 0x4b, 0x4d, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, @@ -85,10 +85,10 @@ var fileDescriptor_9d7cf05c9992c480 = []byte{ 0xd5, 0x4f, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0x86, 0x52, 0xba, 0xc5, 0x29, 0xd9, 0x10, 0x57, 0xea, 0x79, 0xe6, 0x95, 0x04, 0x09, 0xe4, 0x26, 0x56, 0x04, 0x40, 0x0d, 0x0a, 0x00, 0x99, 0xe3, 0xe4, 0x7e, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, 0x2c, - 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0xba, 0xe9, 0x99, 0x25, 0x39, - 0x89, 0x10, 0x33, 0x8b, 0x12, 0x8b, 0x32, 0x73, 0xf3, 0xa1, 0x94, 0x6e, 0x72, 0x7e, 0x51, 0xaa, - 0x3e, 0x5a, 0x20, 0x24, 0xb1, 0x81, 0x3d, 0x63, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x3e, 0x34, - 0x62, 0x8c, 0x1e, 0x01, 0x00, 0x00, + 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0xba, 0x48, 0x66, 0x16, 0x25, + 0x16, 0x65, 0xe6, 0xe6, 0x43, 0x29, 0xdd, 0xe4, 0xfc, 0xa2, 0x54, 0x7d, 0xb4, 0x40, 0x48, 0x62, + 0x03, 0x7b, 0xc6, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xcb, 0x33, 0x79, 0x39, 0x1e, 0x01, 0x00, + 0x00, } func (m *ExtensionOptionDynamicFeeTx) Marshal() (dAtA []byte, err error) { diff --git a/ethermint/types/indexer.pb.go b/ethermint/types/indexer.pb.go index 7245d93c..959f7ff7 100644 --- a/ethermint/types/indexer.pb.go +++ b/ethermint/types/indexer.pb.go @@ -87,23 +87,23 @@ var fileDescriptor_1197e10a8be8ed28 = []byte{ // 302 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0x31, 0x4b, 0xc3, 0x40, 0x18, 0x86, 0x73, 0xb6, 0x4d, 0xe3, 0xa1, 0x83, 0x51, 0x4a, 0x54, 0x88, 0x87, 0x53, 0x96, 0x26, - 0x14, 0x37, 0x47, 0x97, 0xe2, 0x1a, 0xea, 0xe2, 0x12, 0xd2, 0xe6, 0xf3, 0x72, 0x90, 0xeb, 0x95, - 0xbb, 0x2f, 0x25, 0xfe, 0x03, 0x47, 0x7f, 0x82, 0x3f, 0xc7, 0xb1, 0xa3, 0xa3, 0xb4, 0xf8, 0x3f, - 0xa4, 0xd7, 0x10, 0xc1, 0xe9, 0xee, 0xe5, 0x79, 0x3e, 0x5e, 0x78, 0x29, 0x03, 0x2c, 0x41, 0x4b, - 0xb1, 0xc4, 0x04, 0x5f, 0x57, 0x60, 0x92, 0xf5, 0x24, 0x11, 0xcb, 0x02, 0x1a, 0xd0, 0xf1, 0x4a, - 0x2b, 0x54, 0xbe, 0xdf, 0x19, 0xb1, 0x35, 0xe2, 0xf5, 0xe4, 0xea, 0x82, 0x2b, 0xae, 0x2c, 0x4e, - 0xf6, 0xbf, 0x83, 0x79, 0xfb, 0x43, 0xa8, 0x37, 0x6b, 0x52, 0x30, 0x75, 0x85, 0xfe, 0x88, 0xba, - 0x25, 0x08, 0x5e, 0x62, 0x40, 0x18, 0x89, 0x7a, 0x69, 0x9b, 0xfc, 0x4b, 0xea, 0x61, 0x93, 0xd9, - 0x8a, 0xe0, 0x88, 0x91, 0xe8, 0x34, 0x1d, 0x62, 0xf3, 0xb8, 0x8f, 0xfe, 0x35, 0x3d, 0x96, 0x86, - 0xb7, 0xac, 0x67, 0x99, 0x27, 0x0d, 0x3f, 0x40, 0x46, 0x4f, 0x00, 0xcb, 0xac, 0xbb, 0xed, 0x33, - 0x12, 0x0d, 0x52, 0x0a, 0x58, 0xce, 0xda, 0xf3, 0x11, 0x75, 0x5f, 0x72, 0x51, 0x41, 0x11, 0x0c, - 0x18, 0x89, 0xbc, 0xb4, 0x4d, 0xfb, 0x46, 0x9e, 0x9b, 0xac, 0x36, 0x50, 0x04, 0x2e, 0x23, 0x51, - 0x3f, 0x1d, 0xf2, 0xdc, 0x3c, 0x19, 0x28, 0xfc, 0x98, 0x9e, 0x2f, 0x6a, 0x59, 0x57, 0x39, 0x8a, - 0x35, 0x64, 0x9d, 0x35, 0xb4, 0xd6, 0xd9, 0x1f, 0x9a, 0x1e, 0xfc, 0xfb, 0xfe, 0xdb, 0xc7, 0x8d, - 0xf3, 0x30, 0xfd, 0xdc, 0x86, 0x64, 0xb3, 0x0d, 0xc9, 0xf7, 0x36, 0x24, 0xef, 0xbb, 0xd0, 0xd9, - 0xec, 0x42, 0xe7, 0x6b, 0x17, 0x3a, 0xcf, 0x63, 0x2e, 0xb0, 0xca, 0xe7, 0xf1, 0x42, 0xc9, 0x44, - 0xe7, 0x5a, 0x48, 0xd5, 0x3e, 0xe3, 0x85, 0xd2, 0x90, 0xfc, 0xdb, 0x7a, 0xee, 0xda, 0xdd, 0xee, - 0x7e, 0x03, 0x00, 0x00, 0xff, 0xff, 0x53, 0xc0, 0xb9, 0xa3, 0x85, 0x01, 0x00, 0x00, + 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xc2, 0x94, 0x9e, 0xcf, 0x6a, 0x55, 0xcf, 0x4b, 0x94, + 0x2b, 0x28, 0x0e, 0x56, 0xdf, 0x59, 0x67, 0x7f, 0x68, 0xbc, 0xf7, 0xef, 0xbb, 0x6f, 0x1f, 0x37, + 0xde, 0xc3, 0xf8, 0x73, 0x13, 0x93, 0xf5, 0x26, 0x26, 0xdf, 0x9b, 0x98, 0xbc, 0x6f, 0x63, 0x6f, + 0xbd, 0x8d, 0xbd, 0xaf, 0x6d, 0xec, 0x3d, 0x0f, 0xb9, 0x44, 0x51, 0x4f, 0xd3, 0x99, 0x56, 0x99, + 0x29, 0x8d, 0x54, 0xba, 0x7d, 0x86, 0x33, 0x6d, 0x20, 0xfb, 0xb7, 0xf5, 0xd4, 0x77, 0xbb, 0xdd, + 0xfd, 0x06, 0x00, 0x00, 0xff, 0xff, 0xa6, 0xc7, 0xa2, 0x16, 0x85, 0x01, 0x00, 0x00, } func (m *TxResult) Marshal() (dAtA []byte, err error) { diff --git a/ethermint/types/web3.pb.go b/ethermint/types/web3.pb.go index d50ddaf3..f0d30f32 100644 --- a/ethermint/types/web3.pb.go +++ b/ethermint/types/web3.pb.go @@ -94,9 +94,9 @@ var fileDescriptor_9eb7cd56e3c92bc3 = []byte{ 0x6a, 0xf0, 0x38, 0x49, 0xbe, 0xba, 0x27, 0x2f, 0x0a, 0x53, 0x14, 0x9c, 0x99, 0x8e, 0xa4, 0x97, 0x1b, 0x49, 0xd8, 0x8a, 0xa5, 0x63, 0x81, 0x3c, 0x83, 0x93, 0xfb, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, - 0x37, 0x1e, 0xcb, 0x31, 0x44, 0xe9, 0xa6, 0x67, 0x96, 0xe4, 0x24, 0x26, 0xe9, 0x25, 0xe7, 0xe7, + 0x37, 0x1e, 0xcb, 0x31, 0x44, 0xe9, 0xa6, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x17, 0x25, 0x16, 0x65, 0xe6, 0xe6, 0x43, 0x29, 0xdd, 0xe4, 0xfc, 0xa2, 0x54, 0x7d, 0xb4, - 0x80, 0x4f, 0x62, 0x03, 0x87, 0xa3, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xf0, 0xe4, 0x3c, 0xa4, + 0x80, 0x4f, 0x62, 0x03, 0x87, 0xa3, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x05, 0xe3, 0x27, 0x11, 0x92, 0x01, 0x00, 0x00, } diff --git a/go.mod b/go.mod index 3b0b17c1..65709253 100644 --- a/go.mod +++ b/go.mod @@ -37,10 +37,10 @@ require ( github.com/tidwall/gjson v1.14.4 github.com/tidwall/sjson v1.2.5 github.com/tyler-smith/go-bip39 v1.1.0 - golang.org/x/net v0.15.0 - golang.org/x/text v0.13.0 - google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d - google.golang.org/grpc v1.58.0 + golang.org/x/net v0.17.0 + golang.org/x/text v0.14.0 + google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17 + google.golang.org/grpc v1.59.0 google.golang.org/protobuf v1.31.0 sigs.k8s.io/yaml v1.3.0 ) @@ -48,10 +48,10 @@ require ( require github.com/rs/zerolog v1.29.1 // indirect require ( - cloud.google.com/go v0.110.6 // indirect - cloud.google.com/go/compute v1.23.0 // indirect + cloud.google.com/go v0.110.9 // indirect + cloud.google.com/go/compute v1.23.2 // indirect cloud.google.com/go/compute/metadata v0.2.3 // indirect - cloud.google.com/go/iam v1.1.1 // indirect + cloud.google.com/go/iam v1.1.4 // indirect cloud.google.com/go/storage v1.30.1 // indirect filippo.io/edwards25519 v1.0.0-rc.1 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect @@ -91,6 +91,7 @@ require ( github.com/felixge/httpsnoop v1.0.2 // indirect github.com/fsnotify/fsnotify v1.6.0 // indirect github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff // indirect + github.com/ghodss/yaml v1.0.0 // indirect github.com/gin-gonic/gin v1.8.1 // indirect github.com/go-kit/kit v0.12.0 // indirect github.com/go-kit/log v0.2.1 // indirect @@ -104,14 +105,15 @@ require ( github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect github.com/google/btree v1.1.2 // indirect - github.com/google/go-cmp v0.5.9 // indirect + github.com/google/go-cmp v0.6.0 // indirect github.com/google/orderedcode v0.0.1 // indirect github.com/google/s2a-go v0.1.4 // indirect github.com/google/uuid v1.3.0 // indirect - github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect - github.com/googleapis/gax-go/v2 v2.11.0 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.2.4 // indirect + github.com/googleapis/gax-go/v2 v2.12.0 // indirect github.com/gorilla/handlers v1.5.1 // indirect github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 // indirect + github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.1 // indirect github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect github.com/gtank/merlin v0.1.1 // indirect github.com/gtank/ristretto255 v0.1.2 // indirect @@ -178,18 +180,18 @@ require ( github.com/zondax/ledger-go v0.14.1 // indirect go.etcd.io/bbolt v1.3.6 // indirect go.opencensus.io v0.24.0 // indirect - golang.org/x/crypto v0.13.0 // indirect + golang.org/x/crypto v0.14.0 // indirect golang.org/x/exp v0.0.0-20230206171751-46f607a40771 // indirect - golang.org/x/oauth2 v0.12.0 // indirect - golang.org/x/sync v0.2.0 // indirect - golang.org/x/sys v0.12.0 // indirect - golang.org/x/term v0.12.0 // indirect + golang.org/x/oauth2 v0.13.0 // indirect + golang.org/x/sync v0.3.0 // indirect + golang.org/x/sys v0.13.0 // indirect + golang.org/x/term v0.13.0 // indirect golang.org/x/tools v0.9.3 // indirect golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect - google.golang.org/api v0.126.0 // indirect + google.golang.org/api v0.128.0 // indirect google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d // indirect + google.golang.org/genproto v0.0.0-20231030173426-d783a09b4405 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20231030173426-d783a09b4405 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect diff --git a/go.sum b/go.sum index be57363d..9fca0646 100644 --- a/go.sum +++ b/go.sum @@ -37,8 +37,8 @@ cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRY cloud.google.com/go v0.105.0/go.mod h1:PrLgOJNe5nfE9UMxKxgXj4mD3voiP+YQ6gdt6KMFOKM= cloud.google.com/go v0.107.0/go.mod h1:wpc2eNrD7hXUTy8EKS10jkxpZBjASrORK7goS+3YX2I= cloud.google.com/go v0.110.0/go.mod h1:SJnCLqQ0FCFGSZMUNUf84MV3Aia54kn7pi8st7tMzaY= -cloud.google.com/go v0.110.6 h1:8uYAkj3YHTP/1iwReuHPxLSbdcyc+dSBbzFMrVwDR6Q= -cloud.google.com/go v0.110.6/go.mod h1:+EYjdK8e5RME/VY/qLCAtuyALQ9q67dvuum8i+H5xsI= +cloud.google.com/go v0.110.9 h1:e7ITSqGFFk4rbz/JFIqZh3G4VEHguhAL4BQcFlWtU68= +cloud.google.com/go v0.110.9/go.mod h1:rpxevX/0Lqvlbc88b7Sc1SPNdyK1riNBTUU6JXhYNpM= cloud.google.com/go/accessapproval v1.4.0/go.mod h1:zybIuC3KpDOvotz59lFe5qxRZx6C75OtwbisN56xYB4= cloud.google.com/go/accessapproval v1.5.0/go.mod h1:HFy3tuiGvMdcd/u+Cu5b9NkO1pEICJ46IR82PoUdplw= cloud.google.com/go/accessapproval v1.6.0/go.mod h1:R0EiYnwV5fsRFiKZkPHr6mwyk2wxUJ30nL4j2pcFY2E= @@ -149,8 +149,8 @@ cloud.google.com/go/compute v1.12.1/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x cloud.google.com/go/compute v1.13.0/go.mod h1:5aPTS0cUNMIc1CE546K+Th6weJUNQErARyZtRXDJ8GE= cloud.google.com/go/compute v1.14.0/go.mod h1:YfLtxrj9sU4Yxv+sXzZkyPjEyPBZfXHUvjxega5vAdo= cloud.google.com/go/compute v1.18.0/go.mod h1:1X7yHxec2Ga+Ss6jPyjxRxpu2uu7PLgsOVXvgU0yacs= -cloud.google.com/go/compute v1.23.0 h1:tP41Zoavr8ptEqaW6j+LQOnyBBhO7OkOMAGrgLopTwY= -cloud.google.com/go/compute v1.23.0/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM= +cloud.google.com/go/compute v1.23.2 h1:nWEMDhgbBkBJjfpVySqU4jgWdc22PLR0o4vEexZHers= +cloud.google.com/go/compute v1.23.2/go.mod h1:JJ0atRC0J/oWYiiVBmsSsrRnh92DhZPG4hFDcR04Rns= cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU= cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM= @@ -271,8 +271,8 @@ cloud.google.com/go/iam v0.7.0/go.mod h1:H5Br8wRaDGNc8XP3keLc4unfUUZeyH3Sfl9XpQE cloud.google.com/go/iam v0.8.0/go.mod h1:lga0/y3iH6CX7sYqypWJ33hf7kkfXJag67naqGESjkE= cloud.google.com/go/iam v0.11.0/go.mod h1:9PiLDanza5D+oWFZiH1uG+RnRCfEGKoyl6yo4cgWZGY= cloud.google.com/go/iam v0.12.0/go.mod h1:knyHGviacl11zrtZUoDuYpDgLjvr28sLQaG0YB2GYAY= -cloud.google.com/go/iam v1.1.1 h1:lW7fzj15aVIXYHREOqjRBV9PsH0Z6u8Y46a1YGvQP4Y= -cloud.google.com/go/iam v1.1.1/go.mod h1:A5avdyVL2tCppe4unb0951eI9jreack+RJ0/d+KUZOU= +cloud.google.com/go/iam v1.1.4 h1:K6n/GZHFTtEoKT5aUG3l9diPi0VduZNQ1PfdnpkkIFk= +cloud.google.com/go/iam v1.1.4/go.mod h1:l/rg8l1AaA+VFMho/HYx2Vv6xinPSLMF8qfhRPIZ0L8= cloud.google.com/go/iap v1.4.0/go.mod h1:RGFwRJdihTINIe4wZ2iCP0zF/qu18ZwyKxrhMhygBEc= cloud.google.com/go/iap v1.5.0/go.mod h1:UH/CGgKd4KyohZL5Pt0jSKE4m3FR51qg6FKQ/z/Ix9A= cloud.google.com/go/iap v1.6.0/go.mod h1:NSuvI9C/j7UdjGjIde7t7HBz+QTwBcapPE07+sSRcLk= @@ -804,6 +804,7 @@ github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff h1:tY80oXqG github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff/go.mod h1:x7DCsMOv1taUwEWCzT4cmDeAkigA5/QCwUodaVOe8Ww= github.com/getkin/kin-openapi v0.53.0/go.mod h1:7Yn5whZr5kJi6t+kShccXS8ae1APpYTW6yheSwk8Yi4= github.com/getkin/kin-openapi v0.61.0/go.mod h1:7Yn5whZr5kJi6t+kShccXS8ae1APpYTW6yheSwk8Yi4= +github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= @@ -941,8 +942,9 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.1.1-0.20200604201612-c04b05f3adfa h1:Q75Upo5UN4JbPFURXZ8nLKYUvF85dyFRop/vQ0Rv+64= @@ -984,8 +986,9 @@ github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99 github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg= github.com/googleapis/enterprise-certificate-proxy v0.2.1/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= -github.com/googleapis/enterprise-certificate-proxy v0.2.3 h1:yk9/cqRKtT9wXZSsRH9aurXEpJX+U6FLtpYTdC3R06k= github.com/googleapis/enterprise-certificate-proxy v0.2.3/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= +github.com/googleapis/enterprise-certificate-proxy v0.2.4 h1:uGy6JWR/uMIILU8wbf+OkstIrNiMjGpEIyhx8f6W7s4= +github.com/googleapis/enterprise-certificate-proxy v0.2.4/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= @@ -996,8 +999,8 @@ github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK github.com/googleapis/gax-go/v2 v2.5.1/go.mod h1:h6B0KMMFNtI2ddbGJn3T3ZbwkeT6yqEF02fYlzkUCyo= github.com/googleapis/gax-go/v2 v2.6.0/go.mod h1:1mjbznJAPHFpesgE5ucqfYEscaz5kMdcIDwU/6+DDoY= github.com/googleapis/gax-go/v2 v2.7.0/go.mod h1:TEop28CZZQ2y+c0VxMUmu1lV+fQx57QpBWsYpwqHJx8= -github.com/googleapis/gax-go/v2 v2.11.0 h1:9V9PWXEsWnPpQhu/PeQIkS4eGzMlTLGgt80cUUI8Ki4= -github.com/googleapis/gax-go/v2 v2.11.0/go.mod h1:DxmR61SGKkGLa2xigwuZIQpkCI2S5iydzRfb3peWZJI= +github.com/googleapis/gax-go/v2 v2.12.0 h1:A+gCJKdRfqXkr+BIRGtZLibNXf0m1f9E4HG56etFpas= +github.com/googleapis/gax-go/v2 v2.12.0/go.mod h1:y+aIqrI5eb1YGMVJfuV3185Ts/D7qKpsEkdD5+I6QGU= github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+cLsWGBF62rFAi7WjWO4= github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= @@ -1025,6 +1028,8 @@ github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4 github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0/go.mod h1:hgWBS7lorOAVIJEQMi4ZsPv9hVvWI6+ch50m39Pf2Ks= github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3/go.mod h1:o//XUCC/F+yRGJoPO/VU0GSB0f8Nhgmxx0VIRUvaC0w= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.1 h1:6UKoz5ujsI55KNpsJH3UwCq3T8kKbZwNZBNPuTTje8U= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.1/go.mod h1:YvJ2f6MplWDhfxiUC3KpyTy76kYUZA4W3pTv/wdKQ9Y= github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c h1:6rhixN/i8ZofjG1Y75iExal34USq5p+wiN1tpie8IrU= github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c/go.mod h1:NMPJylDgVpX0MLRlPy15sqSwOFv/U1GZ2m21JhFfek0= github.com/gtank/merlin v0.1.1-0.20191105220539-8318aed1a79f/go.mod h1:T86dnYJhcGOh5BjZFCJWTDeTK7XW8uE+E21Cy/bIQ+s= @@ -1608,8 +1613,8 @@ golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5y golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.13.0 h1:mvySKfSWJ+UKUii46M40LOvyWfN0s2U+46/jDd0e6Ck= -golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= +golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= +golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -1741,8 +1746,8 @@ golang.org/x/net v0.4.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= -golang.org/x/net v0.15.0 h1:ugBLEUaxABaB5AJqW9enI0ACdci2RUd4eP51NTBvuJ8= -golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= +golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= +golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1770,8 +1775,8 @@ golang.org/x/oauth2 v0.0.0-20221006150949-b44042a4b9c1/go.mod h1:h4gKUeWbJ4rQPri golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.5.0/go.mod h1:9/XBHVqLaWO3/BRHs5jbpYCnOZVjj5V0ndyaAM7KB4I= golang.org/x/oauth2 v0.6.0/go.mod h1:ycmewcwgD4Rpr3eZJLSB4Kyyljb3qDh40vJ8STE5HKw= -golang.org/x/oauth2 v0.12.0 h1:smVPGxink+n1ZI5pkQa8y6fZT0RW0MgCO5bFpepy4B4= -golang.org/x/oauth2 v0.12.0/go.mod h1:A74bZ3aGXgCY0qaIC9Ahg6Lglin4AMAco8cIv9baba4= +golang.org/x/oauth2 v0.13.0 h1:jDDenyj+WgFtmV3zYVoi8aE2BwtXFLWOA67ZfNWftiY= +golang.org/x/oauth2 v0.13.0/go.mod h1:/JMhi4ZRXAf4HG9LiNmxvk+45+96RUlVThiH8FzNBn0= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -1788,8 +1793,8 @@ golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI= -golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E= +golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -1902,8 +1907,8 @@ golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o= -golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= +golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= @@ -1911,8 +1916,8 @@ golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= -golang.org/x/term v0.12.0 h1:/ZfYdc3zq+q02Rv9vGqTeSItdzZTSNDmfTi0mBAuidU= -golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= +golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek= +golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1927,8 +1932,8 @@ golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= -golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= -golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= +golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -2084,8 +2089,8 @@ google.golang.org/api v0.106.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/ google.golang.org/api v0.107.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= google.golang.org/api v0.108.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= google.golang.org/api v0.110.0/go.mod h1:7FC4Vvx1Mooxh8C5HWjzZHcavuS2f6pmJpZx60ca7iI= -google.golang.org/api v0.126.0 h1:q4GJq+cAdMAC7XP7njvQ4tvohGLiSlytuL4BQxbIZ+o= -google.golang.org/api v0.126.0/go.mod h1:mBwVAtz+87bEN6CbA1GtZPDOqY2R5ONPqJeIlvyo4Aw= +google.golang.org/api v0.128.0 h1:RjPESny5CnQRn9V6siglged+DZCgfu9l6mO9dkX9VOg= +google.golang.org/api v0.128.0/go.mod h1:Y611qgqaE92On/7g65MQgxYul3c0rEB894kniWLY750= google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -2225,12 +2230,12 @@ google.golang.org/genproto v0.0.0-20230209215440-0dfe4f8abfcc/go.mod h1:RGgjbofJ google.golang.org/genproto v0.0.0-20230216225411-c8e22ba71e44/go.mod h1:8B0gmkoRebU8ukX6HP+4wrVQUY1+6PkQ44BSyIlflHA= google.golang.org/genproto v0.0.0-20230222225845-10f96fb3dbec/go.mod h1:3Dl5ZL0q0isWJt+FVcfpQyirqemEuLAK/iFvg1UP1Hw= google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4/go.mod h1:NWraEVixdDnqcqQ30jipen1STv2r/n24Wb7twVTGR4s= -google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5 h1:L6iMMGrtzgHsWofoFcihmDEMYeDR9KN/ThbPWGrh++g= -google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5/go.mod h1:oH/ZOT02u4kWEp7oYBGYFFkCdKS/uYR9Z7+0/xuuFp8= -google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d h1:DoPTO70H+bcDXcd39vOqb2viZxgqeBeSGtZ55yZU4/Q= -google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d/go.mod h1:KjSP20unUpOx5kyQUFa7k4OJg0qeJ7DEZflGDu2p6Bk= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d h1:uvYuEyMHKNt+lT4K3bN6fGswmK8qSvcreM3BwjDh+y4= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d/go.mod h1:+Bk1OCOj40wS2hwAMA+aCW9ypzm63QTBBHp6lQ3p+9M= +google.golang.org/genproto v0.0.0-20231030173426-d783a09b4405 h1:I6WNifs6pF9tNdSob2W24JtyxIYjzFB9qDlpUC76q+U= +google.golang.org/genproto v0.0.0-20231030173426-d783a09b4405/go.mod h1:3WDQMjmJk36UQhjQ89emUzb1mdaHcPeeAh4SCBKznB4= +google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17 h1:JpwMPBpFN3uKhdaekDpiNlImDdkUAyiJ6ez/uxGaUSo= +google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17/go.mod h1:0xJLfVdJqpAPl8tDg1ujOCGzx6LFLttXT5NhllGOXY4= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231030173426-d783a09b4405 h1:AB/lmRny7e2pLhFEYIbl5qkDAUt2h0ZRO4wGPhZf+ik= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231030173426-d783a09b4405/go.mod h1:67X1fPuzjcrkymZzZV1vvkFeTn2Rvc6lYF9MYFGCcwE= google.golang.org/grpc v1.55.0 h1:3Oj82/tFSCeUrRTg/5E/7d/W5A1tj6Ky1ABAuZuv5ag= google.golang.org/grpc v1.55.0/go.mod h1:iYEXKGkEBhg1PjZQvoYEVPTDkHo1/bjTnfwTeGONTY8= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= diff --git a/index.md b/index.md new file mode 100644 index 00000000..875116eb --- /dev/null +++ b/index.md @@ -0,0 +1,28 @@ +--- +layout: default +title: Rarimo Developer Documentation +--- + +# Rarimo Developer Documentation + +## Introduction + +**rarimo-core** is a blockchain built using Cosmos SDK and Tendermint and created with [Ignite CLI](https://ignite.com/cli). + +Based on Tendermint + Cosmos SDK blockchain core the main goal is to provide validated information about different cross-chain operations. + +## Documentation + +### 1. 📂 [Core Modules](./x/README.md) + +### 2. 🔭 [Oracles Overview](./docs/common/oracles/001-oracles.md) + +### 3. 📈 [Bridge Contracts](./docs/common/contracts/001-contracts.md) + +### 4. 🚀 [Bridging Overview](./docs/common/bridging/001-bridging.md) + +## Chains + +### 1. 🌎 [Mainnet information](./docs/common/mainnet/001-mainnet.md) + +### 2. 🌐 [Testnet (Mainnet-beta) information](./docs/common/testnet/001-testnet.md) \ No newline at end of file diff --git a/proto/oraclemanager/query.proto b/proto/oraclemanager/query.proto index fafec1c6..c0d63b1c 100644 --- a/proto/oraclemanager/query.proto +++ b/proto/oraclemanager/query.proto @@ -9,6 +9,9 @@ import "oraclemanager/tx.proto"; import "oraclemanager/oracle.proto"; import "rarimocore/op_transfer.proto"; import "rarimocore/op_identity_default_transfer.proto"; +import "rarimocore/op_identity_gist_transfer.proto"; +import "rarimocore/op_identity_state_transfer.proto"; +import "rarimocore/op_worldcoin_identity_transfer.proto"; // this line is used by starport scaffolding # 1 option go_package = "github.com/rarimo/rarimo-core/x/oraclemanager/types"; @@ -28,6 +31,18 @@ service Query { option (google.api.http).get = "/rarimo/rarimo-core/oraclemanager/identity_default_transfer"; } + rpc IdentityGISTTransfer(QueryGetIdentityGISTTransferRequest) returns (QueryGetIdentityGISTTransferResponse) { + option (google.api.http).get = "/rarimo/rarimo-core/oraclemanager/identity_gist_transfer"; + } + + rpc IdentityStateTransfer(QueryGetIdentityStateTransferRequest) returns (QueryGetIdentityStateTransferResponse) { + option (google.api.http).get = "/rarimo/rarimo-core/oraclemanager/identity_state_transfer"; + } + + rpc WorldCoinIdentityTransfer(QueryGetWorldCoinIdentityTransferRequest) returns (QueryGetWorldCoinIdentityTransferResponse) { + option (google.api.http).get = "/rarimo/rarimo-core/oraclemanager/world_coin_identity_transfer"; + } + rpc OracleAll(QueryGetAllOracleRequest) returns (QueryGetAllOracleResponse) { option (google.api.http).get = "/rarimo/rarimo-core/oraclemanager/oracle"; } @@ -68,6 +83,30 @@ message QueryGetIdentityDefaultTransferResponse { rarimo.rarimocore.rarimocore.IdentityDefaultTransfer transfer = 1 [(gogoproto.nullable) = false]; } +message QueryGetIdentityGISTTransferRequest { + rarimo.rarimocore.oraclemanager.MsgCreateIdentityGISTTransferOp msg = 1 [(gogoproto.nullable) = false]; +} + +message QueryGetIdentityGISTTransferResponse { + rarimo.rarimocore.rarimocore.IdentityGISTTransfer transfer = 1 [(gogoproto.nullable) = false]; +} + +message QueryGetIdentityStateTransferRequest { + rarimo.rarimocore.oraclemanager.MsgCreateIdentityStateTransferOp msg = 1 [(gogoproto.nullable) = false]; +} + +message QueryGetIdentityStateTransferResponse { + rarimo.rarimocore.rarimocore.IdentityStateTransfer transfer = 1 [(gogoproto.nullable) = false]; +} + +message QueryGetWorldCoinIdentityTransferRequest { + rarimo.rarimocore.oraclemanager.MsgCreateWorldCoinIdentityTransferOp msg = 1 [(gogoproto.nullable) = false]; +} + +message QueryGetWorldCoinIdentityTransferResponse { + rarimo.rarimocore.rarimocore.WorldCoinIdentityTransfer transfer = 1 [(gogoproto.nullable) = false]; +} + message QueryGetAllOracleRequest { cosmos.base.query.v1beta1.PageRequest pagination = 1; } diff --git a/proto/oraclemanager/tx.proto b/proto/oraclemanager/tx.proto index 81e56a02..f4ccd6db 100644 --- a/proto/oraclemanager/tx.proto +++ b/proto/oraclemanager/tx.proto @@ -14,6 +14,9 @@ service Msg { rpc Unstake(MsgUnstake) returns (MsgUnstakeResponse); rpc CreateTransferOperation(MsgCreateTransferOp) returns (MsgCreateTransferOpResponse); rpc CreateIdentityDefaultTransferOperation(MsgCreateIdentityDefaultTransferOp) returns (MsgCreateIdentityDefaultTransferOpResponse); + rpc CreateIdentityGISTTransferOperation(MsgCreateIdentityGISTTransferOp) returns (MsgCreateIdentityGISTTransferOpResponse); + rpc CreateIdentityStateTransferOperation(MsgCreateIdentityStateTransferOp) returns (MsgCreateIdentityStateTransferOpResponse); + rpc CreateWorldCoinIdentityTransferOperation(MsgCreateWorldCoinIdentityTransferOp) returns (MsgCreateWorldCoinIdentityTransferOpResponse); rpc Vote(MsgVote) returns(MsgVoteResponse); rpc Unjail(MsgUnjail) returns(MsgUnjailResponse); } @@ -81,6 +84,55 @@ message MsgCreateIdentityDefaultTransferOp { message MsgCreateIdentityDefaultTransferOpResponse {} +message MsgCreateIdentityGISTTransferOp { + string creator = 1; + // Hex 0x + string contract = 2; + string chain = 3; + // Hex 0x + string GISTHash = 4; + // Dec + string GISTCreatedAtTimestamp = 5; + string GISTCreatedAtBlock = 6; + // HEx 0x + string replacedGISTtHash = 7; +} + +message MsgCreateIdentityGISTTransferOpResponse {} + +message MsgCreateIdentityStateTransferOp { + string creator = 1; + // Hex 0x + string contract = 2; + string chain = 3; + // Hex 0x + string id = 5; + // Hex 0x + string stateHash = 6; + // Dec + string stateCreatedAtTimestamp = 7; + string stateCreatedAtBlock = 8; + // HEx 0x + string replacedStateHash = 17; +} + +message MsgCreateIdentityStateTransferOpResponse {} + +message MsgCreateWorldCoinIdentityTransferOp { + string creator = 1; + string contract = 2; + string chain = 3; + // Hex 0x uint256 + string prevState = 4; + // Hex 0x uint256 + string state = 5; + // Dec uint256 + string timestamp = 6; + uint64 blockNumber = 7; +} + +message MsgCreateWorldCoinIdentityTransferOpResponse {} + message MsgVote{ rarimo.rarimocore.oraclemanager.OracleIndex index = 1; string operation = 2; diff --git a/proto/rarimocore/op_identity_gist_transfer.proto b/proto/rarimocore/op_identity_gist_transfer.proto new file mode 100644 index 00000000..5c74f523 --- /dev/null +++ b/proto/rarimocore/op_identity_gist_transfer.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; +package rarimo.rarimocore.rarimocore; + +option go_package = "github.com/rarimo/rarimo-core/x/rarimocore/types"; + +import "tokenmanager/item.proto"; +import "gogoproto/gogo.proto"; + +message IdentityGISTTransfer { + // Hex 0x + string contract = 1; + string chain = 2; + // Hex 0x + string GISTHash = 3; + // Dec + string GISTCreatedAtTimestamp = 5; + string GISTCreatedAtBlock = 6; + // HEX 0x + string replacedGISTHash = 7; +} + diff --git a/proto/rarimocore/op_identity_state_transfer.proto b/proto/rarimocore/op_identity_state_transfer.proto new file mode 100644 index 00000000..a9a9b79f --- /dev/null +++ b/proto/rarimocore/op_identity_state_transfer.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; +package rarimo.rarimocore.rarimocore; + +option go_package = "github.com/rarimo/rarimo-core/x/rarimocore/types"; + +import "tokenmanager/item.proto"; +import "gogoproto/gogo.proto"; + +message IdentityStateTransfer { + // Hex 0x + string contract = 1; + string chain = 2; + // Hex 0x + string id = 4; + // Hex 0x + string stateHash = 5; + // Dec + string stateCreatedAtTimestamp = 6; + string stateCreatedAtBlock = 7; + // HEX 0x + string replacedStateHash = 8; +} + diff --git a/proto/rarimocore/op_worldcoin_identity_transfer.proto b/proto/rarimocore/op_worldcoin_identity_transfer.proto new file mode 100644 index 00000000..a492d627 --- /dev/null +++ b/proto/rarimocore/op_worldcoin_identity_transfer.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; +package rarimo.rarimocore.rarimocore; + +option go_package = "github.com/rarimo/rarimo-core/x/rarimocore/types"; + +message WorldCoinIdentityTransfer { + string contract = 1; + string chain = 2; + // Hex 0x uint256 + string prevState = 3; + // Hex 0x uint256 + string state = 4; + // Dec uint256 + string timestamp = 5; + // simplifies voting flow + uint64 blockNumber = 6; +} diff --git a/proto/rarimocore/operation.proto b/proto/rarimocore/operation.proto index 12c07867..3844e2ff 100644 --- a/proto/rarimocore/operation.proto +++ b/proto/rarimocore/operation.proto @@ -12,6 +12,9 @@ enum OpType { CONTRACT_UPGRADE = 3; IDENTITY_DEFAULT_TRANSFER = 4; IDENTITY_AGGREGATED_TRANSFER = 5; + IDENTITY_GIST_TRANSFER = 6; + IDENTITY_STATE_TRANSFER = 7; + WORLDCOIN_IDENTITY_TRANSFER = 8; } enum OpStatus { diff --git a/proto/tokenmanager/params.proto b/proto/tokenmanager/params.proto index eab6982e..e067b109 100644 --- a/proto/tokenmanager/params.proto +++ b/proto/tokenmanager/params.proto @@ -10,6 +10,7 @@ enum NetworkType { Solana = 1; Near = 2; Other = 3; + Rarimo = 4; } enum NetworkParamType { diff --git a/x/README.md b/x/README.md index e521c925..69e383a4 100644 --- a/x/README.md +++ b/x/README.md @@ -1,3 +1,8 @@ +--- +layout: default +title: List of Modules +--- + # List of Modules * [x/rarimocore](./rarimocore/README.md) - Base transfer logic (signing, storing operations, tss parties staking). diff --git a/x/bridge/README.md b/x/bridge/README.md index 971526d2..760265b3 100644 --- a/x/bridge/README.md +++ b/x/bridge/README.md @@ -1,3 +1,7 @@ +--- +layout: default +title: x/bridge +--- # `x/bridge` @@ -38,36 +42,34 @@ is the target of minting, and the amount of tokens to mint. And also BurnTokens ### Params Definition: - ```protobuf - message Params { - option (gogoproto.goproto_stringer) = false; - string withdrawDenom = 1; - } - ``` - -
- Example - - ```json - { - "params": { - "withdrawDenom": "stake" - } - } - ``` -
+```protobuf +message Params { + option (gogoproto.goproto_stringer) = false; + string withdrawDenom = 1; +} +``` + +Example: +```json +{ + "params": { + "withdrawDenom": "stake" + } +} +``` ### Hash **Hash** - stores the hash of withdrawal operation to prevent double-spending. Definition: - ```protobuf - message Hash { - // hex-encoded - string index = 1; - } - ``` + +```protobuf +message Hash { + // hex-encoded + string index = 1; +} +``` ---- @@ -76,31 +78,33 @@ Definition: ### DepositNative **DepositNative** - burns user's tokens and creates transfer operation in ```rarimocore``` module (will be already approved). - ```protobuf - message MsgDepositNative { - string creator = 1; - // Random 32 bytes slice encoded to the hex string - string seed = 2; - // Information about deposit - string receiver = 3; - cosmos.base.v1beta1.Coin amount = 4; - string bundleData = 5;// hex-encoded - string bundleSalt = 6;// hex-encoded - // Information about target chain - rarimo.rarimocore.tokenmanager.OnChainItemIndex to = 7; - } - ``` + +```protobuf +message MsgDepositNative { + string creator = 1; + // Random 32 bytes slice encoded to the hex string + string seed = 2; + // Information about deposit + string receiver = 3; + cosmos.base.v1beta1.Coin amount = 4; + string bundleData = 5;// hex-encoded + string bundleSalt = 6;// hex-encoded + // Information about target chain + rarimo.rarimocore.tokenmanager.OnChainItemIndex to = 7; +} +``` ### WithdrawNative **WithdrawNative** - checks that operation in ```rarimocore``` is signed and valid and mints tokens to the receiver account. Operation hash (origin) will be stored in modules hash list. - ```protobuf - message MsgWithdrawNative { - string creator = 1; - // Evidence information - string origin = 2; + +```protobuf +message MsgWithdrawNative { + string creator = 1; + // Evidence information + string origin = 2; } - ``` +``` ---- \ No newline at end of file diff --git a/x/bridge/types/genesis.pb.go b/x/bridge/types/genesis.pb.go index c44b40a5..e4c2fbb9 100644 --- a/x/bridge/types/genesis.pb.go +++ b/x/bridge/types/genesis.pb.go @@ -95,10 +95,10 @@ var fileDescriptor_9fdd574b337deec5 = []byte{ 0xc8, 0x81, 0x8b, 0x03, 0x64, 0xbc, 0x4f, 0x66, 0x71, 0x89, 0x04, 0x93, 0x02, 0xb3, 0x06, 0xb7, 0x91, 0x1c, 0x6e, 0x13, 0x3c, 0x12, 0x8b, 0x33, 0xa0, 0xfa, 0xe1, 0xba, 0x9c, 0xdc, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, - 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0x4a, 0x27, 0x3d, 0xb3, 0x24, 0x27, 0x31, 0x49, + 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0x4a, 0x27, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x1f, 0x62, 0x18, 0x94, 0xd2, 0x05, 0x19, 0xaa, 0x5f, 0xa1, 0x0f, 0xf5, 0x5f, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0xd8, 0x87, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, - 0xff, 0x7e, 0x6e, 0x36, 0xb2, 0x51, 0x01, 0x00, 0x00, + 0xff, 0xc3, 0xaa, 0xfe, 0x79, 0x51, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/bridge/types/hash.pb.go b/x/bridge/types/hash.pb.go index b5316c17..be5eaaeb 100644 --- a/x/bridge/types/hash.pb.go +++ b/x/bridge/types/hash.pb.go @@ -81,10 +81,10 @@ var fileDescriptor_4a6e5a313b4b034c = []byte{ 0x32, 0x5c, 0x2c, 0x1e, 0x89, 0xc5, 0x19, 0x42, 0x22, 0x5c, 0xac, 0x99, 0x79, 0x29, 0xa9, 0x15, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0x10, 0x8e, 0x93, 0xdb, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, - 0x37, 0x1e, 0xcb, 0x31, 0x44, 0xe9, 0xa4, 0x67, 0x96, 0xe4, 0x24, 0x26, 0xe9, 0x25, 0xe7, 0xe7, + 0x37, 0x1e, 0xcb, 0x31, 0x44, 0xe9, 0xa4, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43, 0x4c, 0x85, 0x52, 0xba, 0x20, 0xd3, 0xf5, 0x2b, 0xf4, 0xa1, 0x8e, 0x28, 0xa9, 0x2c, - 0x48, 0x2d, 0x4e, 0x62, 0x03, 0x3b, 0xc3, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x46, 0x5e, 0x50, - 0x65, 0x9b, 0x00, 0x00, 0x00, + 0x48, 0x2d, 0x4e, 0x62, 0x03, 0x3b, 0xc3, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xfb, 0x9a, 0x98, + 0xae, 0x9b, 0x00, 0x00, 0x00, } func (m *Hash) Marshal() (dAtA []byte, err error) { diff --git a/x/bridge/types/params.pb.go b/x/bridge/types/params.pb.go index 1ffb6d2d..c6c0b23c 100644 --- a/x/bridge/types/params.pb.go +++ b/x/bridge/types/params.pb.go @@ -83,10 +83,10 @@ var fileDescriptor_ed6fb968a083dd73 = []byte{ 0x17, 0x5b, 0x00, 0x58, 0xbf, 0x90, 0x0a, 0x17, 0x6f, 0x79, 0x66, 0x49, 0x46, 0x4a, 0x51, 0x62, 0xb9, 0x4b, 0x6a, 0x5e, 0x7e, 0xae, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x67, 0x10, 0xaa, 0xa0, 0x93, 0xdb, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, - 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0xe9, 0xa4, 0x67, 0x96, 0xe4, - 0x24, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43, 0x6c, 0x87, 0x52, 0xba, 0x20, 0x57, 0xe8, 0x57, + 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0xe9, 0xa4, 0x67, 0x96, 0x64, + 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43, 0x6c, 0x87, 0x52, 0xba, 0x20, 0x57, 0xe8, 0x57, 0xe8, 0x43, 0x9d, 0x5b, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0xb6, 0xde, 0x18, 0x10, 0x00, - 0x00, 0xff, 0xff, 0x1d, 0xf9, 0xb8, 0xd7, 0xc5, 0x00, 0x00, 0x00, + 0x00, 0xff, 0xff, 0xa0, 0x3d, 0x70, 0x1c, 0xc5, 0x00, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/bridge/types/proposal.pb.go b/x/bridge/types/proposal.pb.go index cae0c65c..de2ee456 100644 --- a/x/bridge/types/proposal.pb.go +++ b/x/bridge/types/proposal.pb.go @@ -103,9 +103,9 @@ var fileDescriptor_ede56148d86d38d9 = []byte{ 0xa0, 0x87, 0xcb, 0x99, 0x7a, 0x10, 0x1b, 0x9d, 0x58, 0x4e, 0xdc, 0x93, 0x67, 0x08, 0x82, 0xea, 0x72, 0x72, 0x3b, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0x9d, 0xf4, 0xcc, - 0x92, 0x9c, 0xc4, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x88, 0x61, 0x50, 0x4a, 0x17, 0x64, 0xa8, + 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x88, 0x61, 0x50, 0x4a, 0x17, 0x64, 0xa8, 0x7e, 0x85, 0x3e, 0xd4, 0x7f, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0x60, 0xff, 0x19, 0x03, - 0x02, 0x00, 0x00, 0xff, 0xff, 0x4a, 0x9b, 0xb2, 0xc4, 0x3d, 0x01, 0x00, 0x00, + 0x02, 0x00, 0x00, 0xff, 0xff, 0xf7, 0x5f, 0x7a, 0x0f, 0x3d, 0x01, 0x00, 0x00, } func (m *ChangeParamsProposal) Marshal() (dAtA []byte, err error) { diff --git a/x/bridge/types/query.pb.go b/x/bridge/types/query.pb.go index a989fe1a..e0600858 100644 --- a/x/bridge/types/query.pb.go +++ b/x/bridge/types/query.pb.go @@ -312,38 +312,38 @@ func init() { func init() { proto.RegisterFile("bridge/query.proto", fileDescriptor_09fd90c905cb448b) } var fileDescriptor_09fd90c905cb448b = []byte{ - // 490 bytes of a gzipped FileDescriptorProto + // 491 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0x41, 0x6f, 0xd3, 0x30, - 0x1c, 0xc5, 0xeb, 0xad, 0x2b, 0xc2, 0x3b, 0xe1, 0xf5, 0x50, 0x45, 0x28, 0xeb, 0x82, 0x44, 0x37, + 0x1c, 0xc5, 0xeb, 0xad, 0x2b, 0xc2, 0x3b, 0xe1, 0xf5, 0x50, 0x55, 0x28, 0xeb, 0x82, 0x44, 0x37, 0xd8, 0x6c, 0xad, 0x5c, 0x38, 0x21, 0x6d, 0x87, 0x8d, 0x63, 0x89, 0xc4, 0x05, 0x89, 0x83, 0xd3, - 0x59, 0x6e, 0xa4, 0x24, 0xce, 0x62, 0x0f, 0x6d, 0x42, 0x5c, 0xf8, 0x04, 0x43, 0x48, 0x48, 0x7c, - 0x22, 0x76, 0x9c, 0xc4, 0x85, 0x13, 0x42, 0x2d, 0x1f, 0x04, 0xd9, 0xfe, 0x0f, 0x16, 0x46, 0x49, - 0x77, 0x4a, 0xeb, 0xbe, 0xf7, 0xfc, 0x7b, 0xfd, 0xff, 0x83, 0x49, 0x52, 0xa5, 0x47, 0x52, 0xb0, - 0xe3, 0x13, 0x51, 0x9d, 0xd1, 0xb2, 0x52, 0x46, 0x91, 0x5e, 0xc5, 0xab, 0x34, 0x57, 0xd4, 0x3f, - 0xc6, 0xaa, 0x12, 0xd4, 0xab, 0x82, 0xae, 0x54, 0x52, 0x39, 0x11, 0xb3, 0x9f, 0xbc, 0x3e, 0xb8, - 0x2f, 0x95, 0x92, 0x99, 0x60, 0xbc, 0x4c, 0x19, 0x2f, 0x0a, 0x65, 0xb8, 0x49, 0x55, 0xa1, 0xe1, - 0xd7, 0x47, 0x63, 0xa5, 0x73, 0xa5, 0x59, 0xc2, 0x35, 0x5c, 0xc3, 0xde, 0xec, 0x26, 0xc2, 0xf0, - 0x5d, 0x56,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0xcc, + 0x83, 0xd6, 0xb7, 0x79, 0xd0, 0x7a, 0xb5, 0x2d, 0x53, 0x93, 0x4c, 0x63, 0x3a, 0x51, 0xf9, 0xbf, + 0xc2, 0x4e, 0x2e, 0xe3, 0xcc, 0x69, 0x29, 0x74, 0xdc, 0x71, 0xef, 0xff, 0x93, 0x5f, 0x01, 0x00, + 0x00, 0xff, 0xff, 0x1d, 0xc9, 0x0d, 0x7f, 0xb7, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/bridge/types/tx.pb.go b/x/bridge/types/tx.pb.go index 05030b0a..14b3afb0 100644 --- a/x/bridge/types/tx.pb.go +++ b/x/bridge/types/tx.pb.go @@ -351,37 +351,37 @@ func init() { func init() { proto.RegisterFile("bridge/tx.proto", fileDescriptor_41dc2e30e6049cae) } var fileDescriptor_41dc2e30e6049cae = []byte{ - // 470 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x4d, 0x6f, 0xd3, 0x40, - 0x10, 0x8d, 0xd3, 0x90, 0xc2, 0x54, 0x14, 0x58, 0xa1, 0xb2, 0x35, 0x92, 0xa9, 0x72, 0x8a, 0xf8, - 0x58, 0x37, 0xe9, 0x3f, 0x48, 0x4b, 0xa4, 0x1e, 0x02, 0x52, 0x38, 0x20, 0x71, 0x5b, 0x3b, 0x23, - 0x77, 0x45, 0xbc, 0x13, 0xed, 0x6e, 0x43, 0xf8, 0x17, 0xdc, 0xf8, 0x4b, 0x3d, 0xf6, 0x82, 0xc4, - 0x09, 0xa1, 0xe4, 0x8f, 0xa0, 0xf8, 0x23, 0x38, 0xa9, 0x80, 0xd0, 0xd3, 0xce, 0xbc, 0x79, 0x7e, - 0x6f, 0xf4, 0x6c, 0x2f, 0x3c, 0x88, 0x8c, 0x1a, 0x25, 0x18, 0xba, 0x99, 0x98, 0x18, 0x72, 0xc4, - 0xb8, 0x91, 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x46, 0xb5, - 0x6e, 0x86, 0x1a, 0x04, 0x00, 0x00, + // 472 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xcd, 0x6e, 0xd3, 0x4c, + 0x14, 0x8d, 0xd3, 0x7c, 0xe9, 0xc7, 0xad, 0x28, 0x30, 0x42, 0x65, 0x6a, 0x24, 0x53, 0x65, 0x15, + 0xf1, 0x33, 0x6e, 0xd2, 0x37, 0x48, 0x4b, 0xa4, 0x2e, 0x02, 0x52, 0x58, 0x20, 0xb1, 0x1b, 0x3b, + 0x57, 0xce, 0x88, 0x7a, 0x6e, 0x34, 0x33, 0x09, 0xe1, 0x2d, 0xd8, 0xf1, 0x4a, 0x5d, 0x76, 0x83, + 0xc4, 0x0a, 0xa1, 0xe4, 0x45, 0x50, 0xfc, 0x13, 0x9c, 0x54, 0x40, 0x60, 0x35, 0xf7, 0x9e, 0x7b, + 0x7c, 0xce, 0xd5, 0xb1, 0x3d, 0x70, 0x2f, 0x32, 0x6a, 0x94, 0x60, 0xe8, 0xe6, 0x62, 0x62, 0xc8, + 0x11, 0xe3, 0x46, 0x1a, 0x95, 0x92, 0xc8, 0x8f, 0x98, 0x0c, 0x8a, 0x9c, 0xe2, 0x3f, 0x72, 0xf4, + 0x1e, 0x75, 0x2a, 0xb5, 0x4c, 0xd0, 0x84, 0xca, 0x61, 0x9a, 0x3f, 0xe2, 0x07, 0x31, 0xd9, 0x94, + 0x6c, 0x18, 0x49, 0x8b, 0xe1, 0xac, 0x13, 0xa1, 0x93, 0x9d, 0x30, 0x26, 0xa5, 0x8b, 0xf9, 0xc3, + 0x84, 0x12, 0xca, 0xca, 0x70, 0x55, 0xe5, 0x68, 0xeb, 0x73, 0x1d, 0xee, 0x0f, 0x6c, 0x72, 0x81, + 0x13, 0xb2, 0xca, 0xbd, 0x92, 0x4e, 0xcd, 0x90, 0x71, 0xd8, 0x8f, 0x0d,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0xd8, 0x84, 0x11, 0xdc, 0xdd, 0x7c, 0xf7, 0x4f, 0xc5, 0xaf, 0x3e, 0x3d, 0xb1, 0x1d, + 0x87, 0xdf, 0xdd, 0x9d, 0x5b, 0x1a, 0x33, 0x03, 0x87, 0x5b, 0xb9, 0x3d, 0xfb, 0xad, 0xca, 0x26, + 0xd9, 0x3f, 0xfb, 0x0b, 0xf2, 0xda, 0x53, 0xc1, 0x41, 0x35, 0xc7, 0xf6, 0x4e, 0x1a, 0x7d, 0x44, + 0xff, 0x74, 0x57, 0x66, 0x69, 0xd5, 0xeb, 0x5f, 0x2f, 0x02, 0xef, 0x66, 0x11, 0x78, 0xdf, 0x17, + 0x81, 0xf7, 0x69, 0x19, 0xd4, 0x6e, 0x96, 0x41, 0xed, 0xeb, 0x32, 0xa8, 0xbd, 0x7b, 0x9e, 0x28, + 0x37, 0x9e, 0x46, 0x22, 0xa6, 0x34, 0xcc, 0xe5, 0x8a, 0xe3, 0xc5, 0x4a, 0x36, 0x9c, 0x87, 0xe5, + 0x1d, 0xf0, 0x71, 0x82, 0x36, 0x6a, 0x66, 0xbf, 0xe7, 0xd9, 0x8f, 0x00, 0x00, 0x00, 0xff, 0xff, + 0xfb, 0x71, 0xa6, 0x4d, 0x1a, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/evm/README.md b/x/evm/README.md index 099b6c61..02ef8fc2 100644 --- a/x/evm/README.md +++ b/x/evm/README.md @@ -1,3 +1,8 @@ +--- +layout: default +title: x/evm +--- + # `x/evm` ## Abstract diff --git a/x/evm/types/events.pb.go b/x/evm/types/events.pb.go index b43c2235..62661552 100644 --- a/x/evm/types/events.pb.go +++ b/x/evm/types/events.pb.go @@ -288,30 +288,30 @@ func init() { func init() { proto.RegisterFile("ethermint/evm/v1/events.proto", fileDescriptor_432e0d592184bde3) } var fileDescriptor_432e0d592184bde3 = []byte{ - // 364 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00,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, 0x71, 0x5e, 0xe5, 0x50, 0x0a, - 0xc7, 0xd6, 0xc2, 0x1f, 0x81, 0x3d, 0xb4, 0xa3, 0xa6, 0x0b, 0x19, 0xbd, 0x90, 0xbc, 0x80, 0xc4, - 0x19, 0xe9, 0x8a, 0x2d, 0x10, 0x59, 0x28, 0x6f, 0x34, 0xe5, 0x9d, 0x22, 0xa4, 0xc3, 0x84, 0xf2, - 0x8e, 0xa5, 0xf8, 0x10, 0x8d, 0x84, 0x8c, 0x0a, 0x96, 0x72, 0xc7, 0x9a, 0xf4, 0x55, 0x10, 0xa1, - 0x78, 0xee, 0x3d, 0xa1, 0x6d, 0x5d, 0x76, 0x0f, 0x9c, 0x93, 0x14, 0x54, 0x60, 0xca, 0x92, 0xa6, - 0x80, 0x9f, 0xc0, 0x1d, 0x52, 0x3c, 0x87, 0x32, 0x81, 0xda, 0xc4, 0x35, 0xc8, 0x18, 0x8b, 0x65, - 0x05, 0x26, 0xaf, 0x2d, 0x64, 0xb8, 0xac, 0xc0, 0x3b, 0x33, 0xcb, 0x9c, 0x15, 0x2c, 0x7e, 0x9d, - 0x15, 0x8c, 0x51, 0xb5, 0x99, 0x85, 0xfa, 0x18, 0xeb, 0x0e, 0xcc, 0xae, 0xdf, 0xd7, 0xae, 0xb5, - 0x5a, 0xbb, 0xd6, 0xd7, 0xda, 0xb5, 0xde, 0x36, 0x6e, 0x6f, 0xb5, 0x71, 0x7b, 0x9f, 0x1b, 0xb7, - 0xf7, 0x7c, 0x91, 0xe6, 0xa2, 0x20, 0x0b, 0x3f, 0x66, 0x34, 0xa8, 0x49, 0x9d, 0x53, 0x66, 0x9e, - 0xcb, 0x98, 0xd5, 0x10, 0x48, 0x7d, 0x57, 0x35, 0x9a, 0x2f, 0x6c, 0x7d, 0xd4, 0xab, 0xef, 0x00, - 0x00, 0x00, 0xff, 0xff, 0xdf, 0x20, 0x49, 0xcf, 0xf5, 0x01, 0x00, 0x00, + // 367 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x51, 0xd1, 0x4a, 0xe3, 0x40, + 0x14, 0x6d, 0xb6, 0x6d, 0xba, 0x9d, 0xdd, 0x65, 0x97, 0x61, 0xd9, 0x8d, 0xa0, 0xa1, 0x04, 0x44, + 0x7d, 0x30, 0xa1, 0xf8, 0x07, 0x95, 0x8a, 0x0f, 0xfa, 0x22, 0x11, 0xc1, 0x97, 0x30, 0x4d, 0xae, + 0x99, 0x60, 0x26, 0x13, 0x32, 0x93, 0x30, 0xfd, 0x0b, 0x3f, 0x4b, 0xf0, 0xa5, 0x8f, 0x3e, 0x4a, + 0xfb, 0x23, 0x32, 0x93, 0x51, 0x9f, 0x66, 0xce, 0x39, 0xf7, 0x9e, 0xcb, 0xb9, 0x17, 0x1d, 0x80, + 0xa4, 0xd0, 0xb0, 0xa2, 0x92, 0x11, 0x74, 0x2c, 0xea, 0xe6, 0x11, 0x74, 0x50, 0x49, 0x11, 0xd6, + 0x0d, 0x97, 0x1c, 0xff, 0xf9, 0x94, 0x43, 0xe8, 0x58, 0xd8, 0xcd, 0x83, 0x17, 0x07, 0xfd, 0x5e, + 0xea, 0x92, 0xa5, 0x56, 0xa0, 0x65, 0xb1, 0xc2, 0xff, 0x90, 0x4b, 0x18, 0x6f, 0x2b, 0xe9, 0x39, + 0x33, 0xe7, 0x78, 0x7a, 0x63, 0x11, 0xde, 0x43, 0xdf, 0x41, 0xd2, 0x84, 0x12, 0x41, 0xbd, 0x6f, + 0x46, 0x99, 0x80, 0xa4, 0x97, 0x44, 0x50, 0xfc, 0x17, 0x8d, 0x8b, 0x2a, 0x03, 0xe5, 0x0d, 0x0d, + 0xdf, 0x03, 0xdd, 0x90, 0x13, 0x91, 0xb4, 0x02, 0x32, 0x6f, 0xd4, 0x37, 0xe4, 0x44, 0xdc, 0x0a, + 0xc8, 0x30, 0x46, 0x23, 0xe3, 0x33, 0x36, 0xb4, 0xf9, 0xe3, 0x7d, 0x34, 0x6d, 0x20, 0x2d, 0xea, + 0x02, 0x2a, 0xe9, 0xb9, 0x46, 0xf8, 0x22, 0x70, 0x80, 0x7e, 0xe9, 0xe9, 0x52, 0x25, 0x0f, 0xa4, + 0x28, 0x21, 0xf3, 0x26, 0xa6, 0xe2, 0x07, 0x48, 0x1a, 0xab, 0x0b, 0x43, 0x05, 0x87, 0x08, 0x99, + 0x30, 0xb1, 0xba, 0xe2, 0x39, 0xfe, 0x8f, 0x26, 0x52, 0x25, 0x25, 0xcf, 0x85, 0xe7, 0xcc, 0x86, + 0x3a, 0x88, 0xd4, 0xbc, 0x08, 0xee, 0xd0, 0x4f, 0x53, 0x76, 0x0d, 0x42, 0x90, 0x1c, 0x74, 0x60, + 0xc6, 0xb3, 0xb6, 0x84, 0x8f, 0xc0, 0x3d, 0xd2, 0xbc, 0x80, 0x2a, 0x83, 0xc6, 0xc6, 0xb5, 0xc8, + 0x1a, 0xcb, 0x75, 0x0d, 0x36, 0xaf, 0x2b, 0x55, 0xbc, 0xae, 0x21, 0x38, 0xb2, 0xcb, 0x5c, 0x94, + 0x3c, 0x7d, 0x5c, 0x94, 0x9c, 0x33, 0xbd, 0x99, 0x95, 0xfe, 0x58, 0xeb, 0x1e, 0x2c, 0xce, 0x9f, + 0xb7, 0xbe, 0xb3, 0xd9, 0xfa, 0xce, 0xdb, 0xd6, 0x77, 0x9e, 0x76, 0xfe, 0x60, 0xb3, 0xf3, 0x07, + 0xaf, 0x3b, 0x7f, 0x70, 0x7f, 0x92, 0x17, 0x92, 0xb6, 0xab, 0x30, 0xe5, 0x2c, 0x6a, 0x48, 0x53, + 0x30, 0x6e, 0x9f, 0xd3, 0x94, 0x37, 0x10, 0x29, 0x73, 0x57, 0x3d, 0x5a, 0xac, 0x5c, 0x73, 0xd4, + 0xb3, 0xf7, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6f, 0x40, 0x19, 0x31, 0xf5, 0x01, 0x00, 0x00, } func (m *EventEthereumTx) Marshal() (dAtA []byte, err error) { diff --git a/x/evm/types/evm.pb.go b/x/evm/types/evm.pb.go index 7b48b69a..868e5711 100644 --- a/x/evm/types/evm.pb.go +++ b/x/evm/types/evm.pb.go @@ -689,7 +689,7 @@ func init() { func init() { proto.RegisterFile("ethermint/evm/v1/evm.proto", fileDescriptor_d21ecc92c8c8583e) } var fileDescriptor_d21ecc92c8c8583e = []byte{ - // 1615 bytes of a gzipped FileDescriptorProto + // 1612 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x58, 0xdd, 0x6e, 0xe3, 0xc6, 0x15, 0xb6, 0x2d, 0xda, 0xa6, 0x46, 0xb2, 0x44, 0x8f, 0xb5, 0x8e, 0xb2, 0x8b, 0x9a, 0x2e, 0x2f, 0x0a, 0x07, 0xc8, 0xda, 0xb1, 0x03, 0xa3, 0x8b, 0x04, 0x2d, 0x60, 0x79, 0x9d, 0xc4, 0xee, 0x36, @@ -788,9 +788,9 @@ var fileDescriptor_d21ecc92c8c8583e = []byte{ 0x35, 0xbb, 0xb8, 0xb2, 0x6c, 0xcb, 0x59, 0xbf, 0xb2, 0xec, 0x4d, 0xc7, 0x2e, 0xf3, 0x67, 0x76, 0x81, 0x76, 0x26, 0x78, 0x66, 0x79, 0x9d, 0xf3, 0x1f, 0xee, 0xf6, 0x56, 0x7f, 0xbc, 0xdb, 0x5b, 0xfd, 0xf7, 0xdd, 0xde, 0xea, 0xdf, 0xde, 0xef, 0xad, 0xfc, 0xf8, 0x7e, 0x6f, 0xe5, 0x9f, 0xef, - 0xf7, 0x56, 0x7e, 0xf7, 0x51, 0x14, 0x8b, 0x04, 0xeb, 0xf7, 0x81, 0x61, 0x16, 0xa7, 0xd4, 0xfc, - 0xbc, 0x0c, 0x28, 0x23, 0x47, 0x43, 0xf5, 0x4f, 0x00, 0xf5, 0x4c, 0x74, 0x37, 0xd4, 0xc7, 0xfd, - 0xa7, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x62, 0xe7, 0x77, 0x70, 0x22, 0x10, 0x00, 0x00, + 0xf7, 0x56, 0x7e, 0xf7, 0xd1, 0xcc, 0xfb, 0xc0, 0x30, 0x8b, 0x53, 0x6a, 0x7e, 0x5e, 0x06, 0x94, + 0x91, 0xa3, 0xa1, 0xfa, 0x27, 0x80, 0x7a, 0x26, 0xba, 0x1b, 0xea, 0xe3, 0xfe, 0xd3, 0xff, 0x04, + 0x00, 0x00, 0xff, 0xff, 0xd2, 0x87, 0x27, 0x8e, 0x22, 0x10, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/evm/types/genesis.pb.go b/x/evm/types/genesis.pb.go index 6a1ce161..5ad032f3 100644 --- a/x/evm/types/genesis.pb.go +++ b/x/evm/types/genesis.pb.go @@ -152,26 +152,26 @@ func init() { func init() { proto.RegisterFile("ethermint/evm/v1/genesis.proto", fileDescriptor_9bcdec50cc9d156d) } var fileDescriptor_9bcdec50cc9d156d = []byte{ - // 304 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x50, 0xbd, 0x4e, 0xeb, 0x30, - 0x14, 0x8e, 0x6f, 0xab, 0xf6, 0xd6, 0x45, 0x80, 0x2c, 0x24, 0xa2, 0x0e, 0x6e, 0xd5, 0xa9, 0x0c, - 0xd8, 0x6a, 0x91, 0xd8, 0x09, 0x03, 0x2b, 0x4a, 0x37, 0x36, 0x37, 0x3d, 0x0a, 0x91, 0x70, 0x1c, - 0xd9, 0x26, 0x82, 0x95, 0x91, 0x89, 0xe7, 0xe0, 0x49, 0x3a, 0x76, 0x64, 0x02, 0x94, 0xbc, 0x08, - 0x8a, 0x93, 0x56, 0x82, 0x4c, 0xfe, 0xec, 0xef, 0xef, 0xf8, 0x60, 0x0a, 0xf6, 0x1e, 0xb4, 0x4c, - 0x52, 0xcb, 0x21, 0x97,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, 0x16, 0x29, 0xc9, 0xb5, 0xd0, 0x89, - 0x54, 0xcd, 0x71, 0x1e, 0x29, 0x0d, 0xfc, 0xc9, 0xed, 0xdc, 0x3e, 0x67, 0x60, 0x56, 0x3d, 0xb7, - 0xdd, 0x8b, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb1, 0x7f, 0xe7, 0xe4, 0xc3, 0x01, 0x00, 0x00, + // 303 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x50, 0x3d, 0x4e, 0xc3, 0x30, + 0x14, 0x8e, 0x69, 0xd5, 0x52, 0x17, 0x01, 0xb2, 0x90, 0x88, 0x3a, 0xb8, 0x55, 0xa7, 0x32, 0x60, + 0xab, 0x45, 0x62, 0x27, 0x0c, 0xac, 0x28, 0xdd, 0xd8, 0xdc, 0xf4, 0x29, 0xcd, 0xe0, 0x3a, 0xb2, + 0xdd, 0x08, 0x56, 0x46, 0x26, 0xce, 0xc1, 0x49, 0x3a, 0x76, 0x64, 0x02, 0x94, 0x5c, 0x04, 0xc5, + 0x49, 0x2b, 0x41, 0x26, 0x7f, 0xf6, 0xf7, 0xf7, 0xfc, 0x30, 0x05, 0xbb, 0x02, 0x2d, 0x93, 0xb5, + 0xe5, 0x90, 0x49, 0x9e, 0x4d, 0x79, 0x0c, 0x6b, 0x30, 0x89, 0x61, 0xa9, 0x56, 0x56, 0x91, 0xf3, + 0x03, 0xcf, 0x20, 0x93, 0x2c, 0x9b, 0x0e, 0x06, 0x0d, 0x47, 0x49, 0x38, 0xf5, 0xe0, 0x22, 0x56, + 0xb1, 0x72, 0x90, 0x97, 0xa8, 0x7a, 0x1d, 0xbf, 0x21, 0x7c, 0xf2, 0x50, 0xa5, 0xce, 0xad, 0xb0, + 0x40, 0x02, 0x7c, 0x2c, 0xa2, 0x48, 0x6d, 0xd6, 0xd6, 0xf8, 0x68, 0xd4, 0x9a, 0xf4, 0x67, 0x23, + 0xf6, 0xbf, 0x87, 0xd5, 0x8e, 0xbb, 0x4a, 0x18, 0xb4, 0xb7, 0x5f, 0x43, 0x2f, 0x3c, 0xf8, 0xc8, + 0x2d, 0xee, 0xa4, 0x42, 0x0b, 0x69, 0xfc, 0xa3, 0x11, 0x9a, 0xf4, 0x67, 0x7e, 0x33, 0xe1, 0xd1, + 0xf1, 0xb5, 0xb3, 0x56, 0x8f, 0x5f, 0x11, 0x3e, 0xfd, 0x1b, 0x4d, 0x7c, 0xdc, 0x15, 0xcb, 0xa5, + 0x06, 0x53, 0x4e, 0x83, 0x26, 0xbd, 0x70, 0x7f, 0x25, 0x04, 0xb7, 0x23, 0xb5, 0x04, 0x57, 0xd1, + 0x0b, 0x1d, 0x26, 0x01, 0xee, 0x1a, 0xab, 0xb4, 0x88, 0xc1, 0x6f, 0xb9, 0xd9, 0x2f, 0x9b, 0xcd, + 0xee, 0x9b, 0xc1, 0x59, 0x59, 0xfc, 0xf1, 0x3d, 0xec, 0xce, 0x2b, 0x7d, 0xb8, 0x37, 0x06, 0xf7, + 0xdb, 0x9c, 0xa2, 0x5d, 0x4e, 0xd1, 0x4f, 0x4e, 0xd1, 0x7b, 0x41, 0xbd, 0x5d, 0x41, 0xbd, 0xcf, + 0x82, 0x7a, 0x4f, 0x57, 0x71, 0x62, 0x57, 0x9b, 0x05, 0x8b, 0x94, 0xe4, 0x5a, 0xe8, 0x44, 0xaa, + 0xfa, 0xb8, 0x8e, 0x94, 0x06, 0xfe, 0xec, 0x76, 0x6e, 0x5f, 0x52, 0x30, 0x8b, 0x8e, 0xdb, 0xee, + 0xcd, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x01, 0x1f, 0xb7, 0x1a, 0xc3, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/evm/types/query.pb.go b/x/evm/types/query.pb.go index 1ca1b16f..52aed127 100644 --- a/x/evm/types/query.pb.go +++ b/x/evm/types/query.pb.go @@ -1314,98 +1314,98 @@ func init() { func init() { proto.RegisterFile("ethermint/evm/v1/query.proto", fileDescriptor_e15a877459347994) } var fileDescriptor_e15a877459347994 = []byte{ - // 1443 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x56, 0x4d, 0x6f, 0x13, 0xc7, - 0x1b, 0xcf, 0xc6, 0x4e, 0xec, 0x8c, 0x03, 0xe4, 0x3f, 0x84, 0x3f, 0x66, 0x9b, 0xd8, 0x61, 0x21, - 0xaf, 0x84, 0xdd, 0xc6, 0xad, 0x90, 0xca, 0xa5, 0xc5, 0x56, 0xa0, 0x14, 0xa8, 0xa8, 0x1b, 0xf5, - 0x50, 0x09, 0x59, 0xe3, 0xf5, 0xb0, 0x5e, 0xc5, 0xde, 0x31, 0x3b, 0x63, 0xd7, 0x81, 0xd2, 0x43, - 0xa5, 0x22, 0x2a, 0xa4, 0x0a, 0xa9, 0xf7, 0x8a, 0x6f, 0xd0, 0x63, 0xbf, 0x02, 0x47, 0xa4, 0x5e, - 0xaa, 0x1e, 0x28, 0x82, 0x1e, 0x7a, 0xeb, 0xbd, 0xa7, 0x6a, 0xde, 0xfc, 0xb6, 0x7e, 0x09, 0x15, - 0x3d, 0xf5, 0xb4, 0x3b, 0x33, 0xcf, 0x3c, 0xcf, 0xef, 0x79, 0x99, 0xe7, 0xf9, 0x81, 0x25, 0xcc, - 0xaa, 0x38, 0xac, 0xfb, 0x01, 0x73, 0x70, 0xab, 0xee, 0xb4, 0x76, 0x9c, 0x3b, 0x4d, 0x1c, 0x1e, - 0xd8, 0x8d, 0x90, 0x30, 0x02, 0x17, 0x3a, 0xa7, 0x36, 0x6e, 0xd5, 0xed, 0xd6, 0x8e, 0xb9, 0xe5, - 0x12, 0x5a, 0x27, 0xd4, 0x29, 0x23, 0x8a, 0xa5, 0xa8, 0xd3, 0xda, 0x29, 0x63, 0x86, 0x76, 0x9c, - 0x06, 0xf2, 0xfc, 0x00, 0x31, 0x9f, 0x04, 0xf2, 0xb6, 0x69, 0x46, 0x74, 0x73, 0x25, 0xf2, 0xec, - 0x54, 0xe4, 0x8c, 0xb5, 0xd5, 0xd1, 0xa2, 0x47, 0x3c, 0x22, 0x7e, 0x1d, 0xfe, 0xa7, 0x76, 0x97, - 0x3c, 0x42, 0xbc, 0x1a, 0x76, 0x50, 0xc3, 0x77, 0x50, 0x10, 0x10, 0x26, 0x2c, 0x51, 0x75, 0x9a, - 0x55, 0xa7, 0x62, 0x55, 0x6e, 0xde, 0x76, 0x98, 0x5f, 0xc7, 0x94, 0xa1, 0x7a, 0x43, 0x0a, 0x58, - 0xef, 0x81, 0xe3, 0x9f, 0x70, 0xb4, 0x97, 0x5c, 0x97, 0x34, 0x03, 0x56, 0xc4, 0x77, 0x9a, 0x98, - 0x32, 0x98, 0x06, 0x09, 0x54, 0xa9, 0x84, 0x98, 0xd2, 0xb4, 0xb1, 0x62, 0x6c, 0xcc, 0x15, 0xf5, - 0xf2, 0x62, 0xf2, 0xe1, 0x93, 0xec, 0xd4, 0x1f, 0x4f, 0xb2, 0x53, 0x96, 0x0b, 0x16, 0xfb, 0xaf, - 0xd2, 0x06, 0x09, 0x28, 0xe6, 0x77, 0xcb, 0xa8, 0x86, 0x02, 0x17, 0xeb, 0xbb, 0x6a, 0x09, 0xdf, - 0x02, 0x73, 0x2e, 0xa9, 0xe0, 0x52, 0x15, 0xd1, 0x6a, 0x7a, 0x5a, 0x9c, 0x25, 0xf9, 0xc6, 0x87, - 0x88, 0x56, 0xe1, 0x22, 0x98, 0x09, 0x08, 0xbf, 0x14, 0x5b, 0x31, 0x36, 0xe2, 0x45, 0xb9, 0xb0, - 0xde, 0x07, 0xa7, 0x84, 0x91, 0x82, 0x08, 0xef, 0x3f, 0x40, 0xf9, 0xc0, 0x00, 0xe6, 0x30, 0x0d, - 0x0a, 0xec, 0x2a, 0x38, 0x2a, 0x33, 0x57, 0xea, 0xd7, 0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xcf, - 0x8d, 0x30, 0x33, 0x8c, 0x36, 0x9a, 0xdb, 0x87, 0x13, 0x56, 0xc8, 0x72, 0x02, 0xd9, 0x36, 0xdc, - 0x8a, 0x22, 0xd3, 0xcc, 0x31, 0x02, 0xf0, 0x47, 0x03, 0x2c, 0x0c, 0x32, 0x33, 0x68, 0x8f, 0x30, - 0x3b, 0x82, 0x10, 0x9a, 0xce, 0xa1, 0xe5, 0x15, 0xd2, 0x8b, 0x02, 0xe9, 0xbb, 0x30, 0x17, 0x45, - 0xda, 0xd2, 0x77, 0xba, 0x60, 0x7b, 0xc9, 0xe6, 0x7d, 0xf8, 0xc0, 0x00, 0x09, 0xc5, 0xc1, 0x46, - 0xa6, 0xb6, 0x9f, 0xde, 0x8d, 0x4c, 0xed, 0x00, 0x95, 0xb3, 0xb6, 0x05, 0xac, 0x35, 0x78, 0x36, - 0x0a, 0x4b, 0x71, 0x3a, 0xda, 0x13, 0xba, 0x47, 0x06, 0x48, 0x28, 0x36, 0x36, 0x12, 0x48, 0x3f, - 0xf5, 0x1b, 0x09, 0x64, 0x80, 0xd4, 0x59, 0x3b, 0x02, 0xc8, 0x39, 0xb8, 0x19, 0x05, 0x42, 0xa5, - 0x68, 0x17, 0x87, 0x73, 0x6f, 0x1f, 0x1f, 0xdc, 0x87, 0x77, 0x41, 0x9c, 0x93, 0x36, 0x68, 0x8d, - 0x2c, 0x99, 0x0e, 0x13, 0x34, 0xcf, 0x8c, 0x95, 0x51, 0x18, 0x36, 0x05, 0x86, 0x33, 0xf0, 0xf4, - 0xb0, 0x6a, 0xaa, 0xf4, 0x45, 0xe2, 0x0b, 0x30, 0x2b, 0x79, 0x0b, 0x3c, 0x3b, 0x42, 0x73, 0x1f, - 0x3d, 0x32, 0x57, 0x27, 0x48, 0x29, 0x04, 0x2b, 0x02, 0x81, 0x09, 0xd3, 0x51, 0x04, 0x92, 0x18, - 0xc1, 0x36, 0x48, 0x28, 0x5e, 0x04, 0x57, 0xa2, 0x3a, 0xf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x11, 0x00, 0x00, + // 1441 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x56, 0xcf, 0x6f, 0x13, 0xc7, + 0x17, 0xcf, 0xc6, 0x4e, 0xec, 0x3c, 0x07, 0xc8, 0x77, 0x08, 0x5f, 0xcc, 0x36, 0xb1, 0xc3, 0x42, + 0x7e, 0x12, 0x76, 0x1b, 0xb7, 0x42, 0x2a, 0x97, 0x16, 0x5b, 0x81, 0x52, 0xa0, 0xa2, 0x6e, 0xd4, + 0x43, 0x25, 0x64, 0x8d, 0xd7, 0xc3, 0xda, 0x8a, 0xbd, 0x63, 0x76, 0xc6, 0xae, 0x03, 0xa5, 0x87, + 0x4a, 0x45, 0x54, 0x48, 0x15, 0x52, 0xef, 0x15, 0xff, 0x41, 0x8f, 0xfd, 0x17, 0x38, 0x22, 0xf5, + 0x52, 0xf5, 0x40, 0x11, 0xf4, 0xd0, 0x5b, 0xef, 0x3d, 0x55, 0x33, 0x3b, 0xeb, 0x5f, 0xeb, 0xb5, + 0x43, 0x45, 0x4f, 0x3d, 0xed, 0xce, 0xcc, 0x9b, 0xf7, 0x3e, 0xef, 0xc7, 0xbc, 0xf7, 0x81, 0x25, + 0xc2, 0xab, 0xc4, 0x6b, 0xd4, 0x5c, 0x6e, 0x91, 0x76, 0xc3, 0x6a, 0xef, 0x58, 0x77, 0x5a, 0xc4, + 0x3b, 0x30, 0x9b, 0x1e, 0xe5, 0x14, 0x2d, 0x74, 0x4f, 0x4d, 0xd2, 0x6e, 0x98, 0xed, 0x1d, 0x7d, + 0xcb, 0xa6, 0xac, 0x41, 0x99, 0x55, 0xc6, 0x8c, 0xf8, 0xa2, 0x56, 0x7b, 0xa7, 0x4c, 0x38, 0xde, + 0xb1, 0x9a, 0xd8, 0xa9, 0xb9, 0x98, 0xd7, 0xa8, 0xeb, 0xdf, 0xd6, 0xf5, 0x90, 0x6e, 0xa1, 0xc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 0x0a, 0x59, 0x4e, 0x22, + 0xdb, 0x46, 0x5b, 0x61, 0x64, 0x01, 0x73, 0x0c, 0x01, 0xfc, 0x51, 0x83, 0x85, 0x61, 0x66, 0x86, + 0xcc, 0x08, 0xb3, 0x11, 0x84, 0x50, 0xb7, 0x0e, 0x2d, 0xaf, 0x90, 0x5e, 0x94, 0x48, 0xdf, 0x45, + 0xb9, 0x30, 0xd2, 0x76, 0x70, 0xa7, 0x07, 0xb6, 0x9f, 0x6c, 0xde, 0x47, 0x0f, 0x34, 0x48, 0x28, + 0x0e, 0x16, 0x99, 0xda, 0x41, 0x7a, 0x17, 0x99, 0xda, 0x21, 0x2a, 0x67, 0x6c, 0x4b, 0x58, 0x6b, + 0xe8, 0x6c, 0x18, 0x96, 0xe2, 0x74, 0xac, 0x2f, 0x74, 0x8f, 0x34, 0x48, 0x28, 0x36, 0x16, 0x09, + 0x64, 0x90, 0xfa, 0x45, 0x02, 0x19, 0x22, 0x75, 0xc6, 0x8e, 0x04, 0x72, 0x0e, 0x6d, 0x86, 0x81, + 0x30, 0x5f, 0xb4, 0x87, 0xc3, 0xba, 0xb7, 0x4f, 0x0e, 0xee, 0xa3, 0xbb, 0x10, 0x17, 0xa4, 0x0d, + 0x19, 0x91, 0x25, 0xd3, 0x65, 0x82, 0xfa, 0x99, 0xb1, 0x32, 0x0a, 0xc3, 0xa6, 0xc4, 0x70, 0x06, + 0x9d, 0x1e, 0x55, 0x4d, 0x95, 0x81, 0x48, 0x7c, 0x01, 0xb3, 0x3e, 0x6f, 0x41, 0x67, 0x23, 0x34, + 0x0f, 0xd0, 0x23, 0x7d, 0x75, 0x82, 0x94, 0x42, 0xb0, 0x22, 0x11, 0xe8, 0x28, 0x1d, 0x46, 0xe0, + 0x13, 0x23, 0xd4, 0x81, 0x84, 0xe2, 0x45, 0x68, 0x25, 0xac, 0x73, 0x90, 0x32, 0xe9, 0xeb, 0x93, + 0x66, 0x45, 0x60, 0xd7, 0x90, 0x76, 0x97, 0x90, 0x1e, 0xb6, 0x4b, 0x78, 0xb5, 0x64, 0x0b, 0x73, + 0x5f, 0x41, 0xaa, 0x8f, 0xd8, 0x1c, 0xc2, 0xfa, 0x08, 0x9f, 0x47, 0x30, 0x23, 0x63, 0x4d, 0xda, + 0x5e, 0x41, 0x99, 0x11, 0xb6, 0x95, 0x78, 0xc9, 0xc1, 0x0c, 0x7d, 0x09, 0x09, 0x35, 0x47, 0x23, + 0x6b, 0x6f, 0x90, 0x49, 0x45, 0xd6, 0xde, 0xd0, 0x38, 0x1e, 0xe7, 0xbd, 0x3f, 0x44, 0x79, 0x07, + 0x3d, 0xd4, 0x00, 0x7a, 0x93, 0x00, 0x6d, 0x8c, 0x53, 0xdd, 0x3f, 0xbc, 0xf5, 0xcd, 0x43, 0x48, + 0x2a, 0x1c, 0xab, 0x12, 0x47, 0x16, 0x2d, 0x47, 0xe1, 0x90, 0x63, 0x51, 0x04, 0x42, 0x4d, 0x93, + 0x31, 0xdd, 0xa0, 0x7f, 0x08, 0x8d, 0xe9, 0x06, 0x03, 0x43, 0x69, 0x5c, 0x20, 0x82, 0x61, 0x95, + 0x2f, 0x3c, 0x7d, 0x99, 0xd1, 0x9e, 0xbd, 0xcc, 0x68, 0x2f, 0x5e, 0x66, 0xb4, 0xc7, 0xaf, 0x32, + 0x53, 0xcf, 0x5e, 0x65, 0xa6, 0x7e, 0x79, 0x95, 0x99, 0xfa, 0x7c, 0xb3, 0x6f, 0x78, 0x79, 0xd8, + 0xab, 0x35, 0xa8, 0xfa, 0x9c, 0xb7, 0xa9, 0x47, 0xac, 0x8e, 0x54, 0x25, 0x67, 0x58, 0x79, 0x56, + 0x8e, 0xff, 0x77, 0xfe, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x7d, 0xcf, 0x70, 0x59, 0xca, 0x11, 0x00, + 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/evm/types/tx.pb.go b/x/evm/types/tx.pb.go index f2bc6d7b..675c80ad 100644 --- a/x/evm/types/tx.pb.go +++ b/x/evm/types/tx.pb.go @@ -453,66 +453,66 @@ func init() { func init() { proto.RegisterFile("ethermint/evm/v1/tx.proto", fileDescriptor_f75ac0a12d075f21) } var fileDescriptor_f75ac0a12d075f21 = []byte{ - // 940 bytes of a gzipped FileDescriptorProto + // 937 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0x4f, 0x8f, 0xdb, 0x44, 0x14, 0x8f, 0x13, 0xe7, 0xdf, 0x4b, 0x28, 0xd5, 0x68, 0xab, 0x3a, 0x51, 0x1b, 0x87, 0x48, 0x40, 0xb6, 0xd2, 0xda, 0xea, 0x82, 0x38, 0xec, 0x89, 0xcd, 0x76, 0x5b, 0xb5, 0xda, 0x15, 0x95, 0x95, - 0x5e, 0x28, 0x52, 0x34, 0xeb, 0xcc, 0x4e, 0x46, 0xc4, 0x1e, 0xcb, 0x33, 0x09, 0x09, 0x12, 0x97, - 0x9e, 0xb8, 0x81, 0xc4, 0x17, 0xe0, 0xc0, 0x05, 0x4e, 0x9c, 0xf8, 0x0c, 0x3d, 0x56, 0xe2, 0x82, - 0x38, 0x04, 0x94, 0x45, 0xaa, 0xb4, 0x47, 0x3e, 0x01, 0x9a, 0xb1, 0xb3, 0xd9, 0x34, 0xb4, 0x85, - 0xb2, 0xa8, 0x27, 0xbf, 0x37, 0xef, 0x37, 0xef, 0x3d, 0xbf, 0xdf, 0xcf, 0x33, 0x86, 0x1a, 0x91, - 0x03, 0x12, 0x07, 0x2c, 0x94, 0x2e, 0x19, 0x07, 0xee, 0xf8, 0xa6, 0x2b, 0x27, 0x4e, 0x14, 0x73, - 0xc9, 0xd1, 0xe5, 0xb3, 0x90, 0x43, 0xc6, 0x81, 0x33, 0xbe, 0x59, 0xbf, 0xea, 0x73, 0x11, 0x70, - 0xe1, 0x06, 0x82, 0x2a, 0x64, 0x20, 0x68, 0x02, 0xad, 0xd7, 0xd7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xc7, 0x9b, 0xe7, 0xbe, 0x9b, 0x08, 0x47, 0xd4, 0x67, 0xe9, 0x63, 0xcb, 0x65, 0x11, 0xb1, + 0xa7, 0xaa, 0x57, 0xf5, 0xf9, 0x1c, 0x95, 0xd4, 0x1f, 0xc4, 0x7b, 0x7f, 0x05, 0x00, 0x00, 0xff, + 0xff, 0xb9, 0xe7, 0x84, 0x7d, 0x23, 0x09, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/feemarket/types/events.pb.go b/x/feemarket/types/events.pb.go index 4b6b0d3d..a1a0a13a 100644 --- a/x/feemarket/types/events.pb.go +++ b/x/feemarket/types/events.pb.go @@ -144,10 +144,10 @@ var fileDescriptor_c6edce8d670faff7 = []byte{ 0x6c, 0x19, 0xa9, 0x99, 0xe9, 0x19, 0x25, 0x50, 0x95, 0x50, 0x1e, 0x48, 0x3c, 0x31, 0x37, 0xbf, 0x34, 0xaf, 0x44, 0x82, 0x09, 0x22, 0x0e, 0xe1, 0x39, 0x79, 0x9e, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, - 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x7e, 0x7a, 0x66, 0x49, 0x4e, 0x62, 0x92, 0x5e, 0x72, 0x7e, 0xae, + 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x7e, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x7e, 0x51, 0x62, 0x51, 0x66, 0x6e, 0x3e, 0x94, 0xd2, 0x4d, 0xce, 0x2f, 0x4a, 0xd5, 0xaf, 0x40, 0xf2, 0x5a, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0xd8, 0x5f, 0xc6, 0x80, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xc4, 0x6c, 0x8c, 0xf0, 0xfe, 0x00, 0x00, 0x00, + 0xff, 0xff, 0x84, 0x59, 0x23, 0x07, 0xfe, 0x00, 0x00, 0x00, } func (m *EventFeeMarket) Marshal() (dAtA []byte, err error) { diff --git a/x/feemarket/types/feemarket.pb.go b/x/feemarket/types/feemarket.pb.go index bbf76a1c..743751c0 100644 --- a/x/feemarket/types/feemarket.pb.go +++ b/x/feemarket/types/feemarket.pb.go @@ -115,32 +115,32 @@ func init() { } var fileDescriptor_4feb8b20cf98e6e1 = []byte{ - // 396 bytes of a gzipped FileDescriptorProto + // 393 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0x41, 0x6b, 0xdb, 0x30, 0x14, 0xc7, 0xad, 0xa5, 0x4d, 0x5d, 0x75, 0x81, 0x20, 0xba, 0x61, 0x36, 0x70, 0xcd, 0x06, 0xc5, - 0x97, 0xda, 0x94, 0x9e, 0x77, 0xc9, 0xca, 0xb6, 0x0c, 0x06, 0xc5, 0xc7, 0x31, 0x10, 0xb2, 0xfb, - 0x6a, 0x3f, 0x6a, 0x49, 0x46, 0x52, 0xcb, 0xfa, 0x2d, 0xf6, 0xb1, 0x7a, 0xec, 0x69, 0x8c, 0x1d, - 0xc2, 0x48, 0xbe, 0xc8, 0x88, 0x9d, 0xd8, 0xb9, 0x6e, 0xa7, 0x27, 0xbd, 0xff, 0x5f, 0xbf, 0xf7, - 0x24, 0x3d, 0x7a, 0x0a, 0xae, 0x02, 0x23, 0x51, 0xb9, 0xf4, 0x06, 0x40, 0x0a, 0x73, 0x0b, 0x2e, - 0xbd, 0x3f, 0x1f, 0x36, 0x49, 0x63, 0xb4, 0xd3, 0xec, 0x65, 0xef, 0x4b, 0x06, 0xe9, 0xfe, 0xfc, - 0xd5, 0x71, 0xa9, 0x4b, 0xdd, 0x5a, 0xd2, 0xf5, 0xaa, 0x73, 0xbf, 0xf9, 0x39, 0xa2, 0xe3, 0x2b, - 0x61, 0x84, 0xb4, 0x2c, 0xa4, 0x47, 0x4a, 0xf3, 0x5c, 0x58, 0xe0, 0x37, 0x00, 0x01, 0x89, 0x48, - 0xec, 0x67, 0x87, 0x4a, 0xcf, 0x84, 0x85, 0x0f, 0x00, 0xec, 0x1d, 0x7d, 0xbd, 0x15, 0x79, 0x51, - 0x09, 0x55, 0x02, 0xbf, 0x06, 0xa5, 0x25, 0x2a, 0xe1, 0xb4, 0x09, 0x9e, 0x45, 0x24, 0x9e, 0x64, - 0x41, 0xde, 0xb9, 0xdf, 0xb7, 0x86, 0xcb, 0x41, 0x67, 0x17, 0xf4, 0x05, 0xd4, 0xc2, 0x3a, 0x2c, - 0xd0, 0x3d, 0x70, 0x79, 0x57, 0x3b, 0x6c, 0x6a, 0x04, 0x13, 0x8c, 0xda, 0x83, 0xc7, 0x83, 0xf8, - 0xa5, 0xd7, 0xd8, 0x5b, 0x3a, 0x01, 0x25, 0xf2, 0x1a, 0x78, 0x05, 0x58, 0x56, 0x2e, 0xd8, 0x8f, - 0x48, 0x3c, 0xca, 0x9e, 0x77, 0xc9, 0x4f, 0x6d, 0x8e, 0xcd, 0xa9, 0xdf, 0x77, 0x3d, 0x8e, 0x48, - 0x7c, 0x38, 0x4b, 0x1e, 0x17, 0x27, 0xde, 0xef, 0xc5, 0xc9, 0x69, 0x89, 0xae, 0xba, 0xcb, 0x93, - 0x42, 0xcb, 0xb4, 0xd0, 0x56, 0x6a, 0xbb, 0x09, 0x67, 0xf6, 0xfa, 0x36, 0x75, 0x0f, 0x0d, 0xd8, - 0x64, 0xae, 0x5c, 0x76, 0xb0, 0xe9, 0x9a, 0x65, 0x74, 0x22, 0x51, 0xf1, 0x52, 0x58, 0xde, 0x18, - 0x2c, 0x20, 0x38, 0xf8, 0x67, 0xde, 0x25, 0x14, 0xd9, 0x91, 0x44, 0xf5, 0x51, 0xd8, 0xab, 0x35, - 0x82, 0x7d, 0xa3, 0x6c, 0xcb, 0xdc, 0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d, 0x84, 0x21, 0x3e, 0xbe, 0x92, 0x8a, 0xa6, 0xcc, 0x00, 0x9d, 0x02, 0x78, 0x28, 0x40, 0xa1, + 0x9b, 0x5c, 0x4a, 0x35, 0x62, 0x06, 0x3e, 0x00, 0x90, 0x77, 0xf8, 0xf5, 0x51, 0xa4, 0x59, 0xc1, + 0x64, 0x0e, 0x74, 0x02, 0x52, 0x09, 0x2e, 0x99, 0x55, 0xda, 0x7b, 0x16, 0xa0, 0x70, 0x90, 0x78, + 0x69, 0xe3, 0x7e, 0x5f, 0x1b, 0x1e, 0x3b, 0x9d, 0x3c, 0xe0, 0x17, 0x50, 0x32, 0x63, 0x79, 0xc6, + 0xed, 0x92, 0x8a, 0x79, 0x69, 0x79, 0x55, 0x72, 0xd0, 0x5e, 0xaf, 0x3e, 0x78, 0xdd, 0x89, 0x5f, + 0x5a, 0x8d, 0xbc, 0xc5, 0x03, 0x90, 0x2c, 0x2d, 0x81, 0x16, 0xc0, 0xf3, 0xc2, 0x7a, 0xe7, 0x01, + 0x0a, 0x7b, 0xc9, 0xf3, 0x26, 0xf9, 0xa9, 0xce, 0x91, 0x31, 0x76, 0xdb, 0xae, 0xfb, 0x01, 0x0a, + 0x2f, 0x47, 0xd1, 0x6a, 0x73, 0xe3, 0xfc, 0xde, 0xdc, 0xdc, 0xe6, 0xdc, 0x16, 0xf3, 0x34, 0xca, + 0x94, 0x88, 0x33, 0x65, 0x84, 0x32, 0x87, 0x70, 0x67, 0x26, 0xb3, 0xd8, 0x2e, 0x2b, 0x30, 0xd1, + 0x58, 0xda, 0xe4, 0xe2, 0xd0, 0x35, 0x49, 0xf0, 0x40, 0x70, 0x49, 0x73, 0x66, 0x68, 0xa5, 0x79, + 0x06, 0xde, 0xc5, 0x3f, 0xf3, 0x1e, 0x21, 0x4b, 0xae, 0x04, 0x97, 0x1f, 0x99, 0x79, 0xda, 0x23, + 0xc8, 0x37, 0x4c, 0x8e, 0xcc, 0x93, 0x5b, 0xbb, 0xff, 0x05, 0x1e, 0x36, 0xe0, 0xee, 0x85, 0x3e, + 0x9f, 0xb9, 0x67, 0xc3, 0xf3, 0x64, 0xc8, 0x25, 0xb7, 0x9c, 0x95, 0xed, 0xf7, 0x8d, 0xc6, 0xab, + 0xad, 0x8f, 0xd6, 0x5b, 0x1f, 0xfd, 0xd9, 0xfa, 0xe8, 0xc7, 0xce, 0x77, 0xd6, 0x3b, 0xdf, 0xf9, + 0xb5, 0xf3, 0x9d, 0xaf, 0xf1, 0x49, 0x2d, 0xcd, 0x34, 0x17, 0xea, 0x10, 0xee, 0x32, 0xa5, 0x21, + 0xfe, 0x7e, 0x32, 0x5e, 0x75, 0xe1, 0xb4, 0x5f, 0x8f, 0xca, 0xc3, 0xdf, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x83, 0x06, 0xaf, 0xae, 0x82, 0x02, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/feemarket/types/genesis.pb.go b/x/feemarket/types/genesis.pb.go index 4a09a6a8..50514d8f 100644 --- a/x/feemarket/types/genesis.pb.go +++ b/x/feemarket/types/genesis.pb.go @@ -101,10 +101,10 @@ var fileDescriptor_6241c21661288629 = []byte{ 0x4b, 0x10, 0x07, 0x58, 0xc0, 0x3d, 0xb1, 0xd8, 0x8b, 0x85, 0x83, 0x49, 0x80, 0x39, 0x88, 0x23, 0x29, 0xb1, 0x38, 0x35, 0x3e, 0x2d, 0x35, 0xd5, 0xc9, 0xf3, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, - 0x8f, 0xe5, 0x18, 0xa2, 0xf4, 0xd3, 0x33, 0x4b, 0x72, 0x12, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, + 0x8f, 0xe5, 0x18, 0xa2, 0xf4, 0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x8b, 0x12, 0x8b, 0x32, 0x73, 0xf3, 0xa1, 0x94, 0x6e, 0x72, 0x7e, 0x51, 0xaa, 0x7e, 0x05, 0x92, 0x47, 0x4b, 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0x9e, 0x31, 0x06, 0x04, 0x00, 0x00, 0xff, - 0xff, 0xc1, 0x8d, 0x3b, 0x2b, 0x4a, 0x01, 0x00, 0x00, + 0xff, 0x81, 0xb8, 0x94, 0xdc, 0x4a, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/feemarket/types/query.pb.go b/x/feemarket/types/query.pb.go index 4578b11e..75918ba6 100644 --- a/x/feemarket/types/query.pb.go +++ b/x/feemarket/types/query.pb.go @@ -288,36 +288,35 @@ func init() { } var fileDescriptor_71a07c1ffd85fde2 = []byte{ - // 449 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0x41, 0x6f, 0xd3, 0x30, - 0x14, 0xae, 0x29, 0x74, 0xc3, 0x5c, 0x90, 0xe9, 0x26, 0x14, 0x21, 0xaf, 0x04, 0xa9, 0xda, 0x06, - 0x8d, 0xb5, 0x71, 0xe5, 0x54, 0x09, 0xd0, 0x6e, 0x50, 0x6e, 0x48, 0x68, 0x72, 0xc2, 0x9b, 0x17, - 0xb5, 0x89, 0x33, 0xdb, 0x9d, 0xd8, 0x95, 0x1b, 0x17, 0x84, 0xe0, 0xd7, 0xf0, 0x0f, 0x76, 0x9c, - 0xc4, 0x05, 0x71, 0xa8, 0x50, 0xcb, 0x0f, 0x41, 0xb1, 0x9d, 0x42, 0x80, 0xb0, 0x9e, 0x6c, 0xbd, - 0x7c, 0xef, 0xfb, 0xbe, 0xf7, 0x3d, 0x07, 0x87, 0x60, 0x8e, 0x41, 0x65, 0x69, 0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x97, 0x23, 0xee, 0xe0, 0x8d, 0x3f, 0xea, 0x5e, 0xf7, 0x26, 0x6e, 0x0b, 0xee, - 0x26, 0x6c, 0x8f, 0xca, 0xeb, 0xfe, 0xe7, 0x36, 0xbe, 0x66, 0xb1, 0xe4, 0x1d, 0xc2, 0x1d, 0x37, - 0x1b, 0xd9, 0x6d, 0x9a, 0xfd, 0xef, 0x38, 0x83, 0xfb, 0x2b, 0x61, 0x9d, 0x7e, 0xd8, 0x7f, 0xfb, - 0xe5, 0xc7, 0xa7, 0x2b, 0x3d, 0x42, 0x59, 0xc3, 0x82, 0x5d, 0x9c, 0xe4, 0x3d, 0xc2, 0x6b, 0x3e, - 0x33, 0xf2, 0x7f, 0x81, 0x7a, 0xe0, 0xc1, 0x83, 0xd5, 0xc0, 0xde, 0xce, 0xb6, 0xb5, 0x13, 0x92, - 0x5e, 0x93, 0x9d, 0x6a, 0x49, 0xe4, 0x23, 0xc2, 0xeb, 0x55, 0x9a, 0xe4, 0x12, 0x91, 0xfa, 0x32, - 0x82, 0xc1, 0x8a, 0x68, 0xef, 0x69, 0xc7, 0x7a, 0xba, 0x47, 0xee, 0x36, 0x7a, 0x2a, 0x3b, 0x0e, - 0x05, 0xd7, 0xc3, 0x83, 0xf3, 0x39, 0x45, 0x17, 0x73, 0x8a, 0xbe, 0xcf, 0x29, 0xfa, 0xb0, 0xa0, - 0xad, 0x8b, 0x05, 0x6d, 0x7d, 0x5d, 0xd0, 0xd6, 0x4b, 0x26, 0x52, 0x33, 0xe1, 0xee, 0x25, 0x29, - 0xae, 0xd2, 0x4c, 0xfa, 0x63, 0x90, 0x48, 0x05, 0xec, 0xcd, 0x6f, 0x8c, 0xf6, 0x59, 0xc5, 0x1d, - 0xfb, 0xc7, 0x3c, 0xfc, 0x19, 0x00, 0x00, 0xff, 0xff, 0xd7, 0x3d, 0xf1, 0x81, 0xcb, 0x03, 0x00, - 0x00, + // 446 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 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0xda, 0xcb, + 0xf0, 0xc7, 0x4b, 0xa2, 0x9d, 0xa7, 0x2d, 0xe3, 0xe9, 0x1e, 0xb9, 0xdb, 0xe9, 0xa9, 0xee, 0xd8, + 0xcf, 0xb8, 0x8a, 0xf6, 0xce, 0x66, 0x14, 0x9d, 0xcf, 0x28, 0xfa, 0x3e, 0xa3, 0xe8, 0xc3, 0x9c, + 0x7a, 0xe7, 0x73, 0xea, 0x7d, 0x9d, 0x53, 0xef, 0x25, 0xbb, 0xf4, 0x92, 0x24, 0x97, 0x79, 0x21, + 0xdc, 0x31, 0x4e, 0x85, 0x04, 0xf6, 0xe6, 0x12, 0xa3, 0x79, 0x56, 0x49, 0xdf, 0xfc, 0x31, 0x0f, + 0x7f, 0x06, 0x00, 0x00, 0xff, 0xff, 0x97, 0x08, 0x5e, 0x76, 0xcb, 0x03, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/feemarket/types/tx.pb.go b/x/feemarket/types/tx.pb.go index 7305e706..530cfa4f 100644 --- a/x/feemarket/types/tx.pb.go +++ b/x/feemarket/types/tx.pb.go @@ -147,10 +147,10 @@ var fileDescriptor_78aff2584dbf2838 = []byte{ 0x9c, 0x2e, 0x94, 0xc1, 0xc5, 0x83, 0xe2, 0x3a, 0x75, 0x5c, 0xf6, 0xa1, 0x99, 0x23, 0xa5, 0x4f, 0xa4, 0x42, 0x98, 0x85, 0x4e, 0x9e, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, - 0xa5, 0x9f, 0x9e, 0x59, 0x92, 0x93, 0x98, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x5f, 0x94, 0x58, 0x94, + 0xa5, 0x9f, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x5f, 0x94, 0x58, 0x94, 0x99, 0x9b, 0x0f, 0xa5, 0x74, 0x93, 0xf3, 0x8b, 0x52, 0xf5, 0x2b, 0x90, 0x02, 0xbe, 0xa4, 0xb2, - 0x20, 0xb5, 0x38, 0x89, 0x0d, 0x1c, 0xb8, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf5, 0xcd, - 0x64, 0x17, 0xee, 0x01, 0x00, 0x00, + 0x20, 0xb5, 0x38, 0x89, 0x0d, 0x1c, 0xb8, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb5, 0xf8, + 0xcb, 0xe0, 0xee, 0x01, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/identity/README.md b/x/identity/README.md index 72b39e63..daac4b6e 100644 --- a/x/identity/README.md +++ b/x/identity/README.md @@ -1,3 +1,8 @@ +--- +layout: default +title: x/identity +--- + # `x/identity` ## Abstract @@ -13,6 +18,7 @@ Collected events' information is recoded to the dynamic Merkle tree (based on tr The proof of concept for dynamic merkle tree is here: "". To collect events `identity` module uses `evm` module hooks by defining the following method: + ```go func (k Keeper) PostTxProcessing(ctx sdk.Context, msg core.Message, receipt *ethtypes.Receipt) error ``` @@ -20,11 +26,13 @@ func (k Keeper) PostTxProcessing(ctx sdk.Context, msg core.Message, receipt *eth It receives all emitted transaction logs in EVM module and filters them to process only `StateTransited` events. After all state updates in the module `EndBlock` method the `IDENTITY_AGGREGATED_TRANSFER` operation -will be created with current GIST and States root hash information. Also, the in all changed states `lastUpdateOperationIndex` will be updated. +will be created with current GIST and States root hash information. Also, the in all changed +states `lastUpdateOperationIndex` will be updated. ### Architecture The basic methods of dynamic merkle to work with is defined in `x/identity/keeper/treap.go`: + ```go func (t Treap) Split(ctx sdk.Context, root, key string) (string, string) @@ -43,7 +51,8 @@ Node index is based on corresponding `StateInfo` object hash (use `CalculateHash Also, every `Node` contains additional hash field that stores the `HASH(self,HASH(left,right))`. -Please refer to the corresponding `hash(a, b string) string` and `updateNode(ctx sdk.Context, node *types.Node)` to get more context about how we're constructing merkle tree. +Please refer to the corresponding `hash(a, b string) string` and `updateNode(ctx sdk.Context, node *types.Node)` to get +more context about how we're constructing merkle tree. In the `x/identity/keeper/keeper.go` file we are defining the main entrypoints to interact with: @@ -57,7 +66,7 @@ In the `x/identity/keeper/keeper.go` file we are defining the main entrypoints t ```go func (k Keeper) Path(ctx sdk.Context, id string) []string ``` - + ---- ## State @@ -65,86 +74,86 @@ In the `x/identity/keeper/keeper.go` file we are defining the main entrypoints t ### Params Definition: - ```protobuf - message Params { - // Linear congruential generator params - // https://en.wikipedia.org/wiki/Linear_congruential_generator - uint64 lcgA = 1; - uint64 lcgB = 2; - uint64 lcgMod = 3; - uint64 lcgValue = 4; - // Address of identity state smart contract in rarimo chain - string identityContractAddress = 5; - string chainName = 6; - string GISTHash = 7; - uint64 GISTUpdatedTimestamp = 8; - string treapRootKey = 9; - repeated string statesWaitingForSign = 10; - } - ``` -
- Example - - ```json - { - "params": { - "lcgA": "1664525", - "lcgB": "1013904223", - "lcgMod": "4294967296", - "lcgValue": "2900471886", - "identityContractAddress": "0x753a8678c85d5fb70A97CFaE37c84CE2fD67EDE8", - "chainName": "Rarimo", - "GISTHash": "0x049f1325d5227edcefbca1dc4dc1b76dd981e54c874ec49ba964443086b49950", - "GISTUpdatedTimestamp": "1691866982", - "treapRootKey": "0x36141b81b879c28068b3df0bbe9fad19c202b3ef7a140046e018c4153a8ce4c1", - "statesWaitingForSign": [] - } - } - ``` -
+```protobuf +message Params { + // Linear congruential generator params + // https://en.wikipedia.org/wiki/Linear_congruential_generator + uint64 lcgA = 1; + uint64 lcgB = 2; + uint64 lcgMod = 3; + uint64 lcgValue = 4; + // Address of identity state smart contract in rarimo chain + string identityContractAddress = 5; + string chainName = 6; + string GISTHash = 7; + uint64 GISTUpdatedTimestamp = 8; + string treapRootKey = 9; + repeated string statesWaitingForSign = 10; +} +``` + +Example: + +```json +{ + "params": { + "lcgA": "1664525", + "lcgB": "1013904223", + "lcgMod": "4294967296", + "lcgValue": "2900471886", + "identityContractAddress": "0x753a8678c85d5fb70A97CFaE37c84CE2fD67EDE8", + "chainName": "Rarimo", + "GISTHash": "0x049f1325d5227edcefbca1dc4dc1b76dd981e54c874ec49ba964443086b49950", + "GISTUpdatedTimestamp": "1691866982", + "treapRootKey": "0x36141b81b879c28068b3df0bbe9fad19c202b3ef7a140046e018c4153a8ce4c1", + "statesWaitingForSign": [] + } +} +``` ### Node Definition: - ```protobuf - message Node { - // Node key (identity state hash) - string key = 1; - // Node priority (should be random) - uint64 priority = 2; - // Node left son key - string left = 4; - // Node right son key - string right = 5; - // Merkle hash. H = Hash(Hash(left_key|right_key)|self_key) - string hash = 6; - // Hash(left_key|right_key) - string childrenHash = 7; + +```protobuf +message Node { + // Node key (identity state hash) + string key = 1; + // Node priority (should be random) + uint64 priority = 2; + // Node left son key + string left = 4; + // Node right son key + string right = 5; + // Merkle hash. H = Hash(Hash(left_key|right_key)|self_key) + string hash = 6; + // Hash(left_key|right_key) + string childrenHash = 7; +} +``` + +Example: + +```json +{ + "node": { + "key": "0x36141b81b879c28068b3df0bbe9fad19c202b3ef7a140046e018c4153a8ce4c1", + "priority": "4267815944", + "left": "0x2d6a7c009097397071398f3b2a1855a5df9f6d9ce258846ba92de23aee0dfdf9", + "right": "0x371e7f58b71fea562aa728619fed387134051e19a3efe0dac2c09557852c5a5c", + "hash": "0x9cc3d207a5e341279f698cad512f517edb0e9d8df44181680f8d1d75b5573be2", + "childrenHash": "0xeb2c9ef79b7415a7d38bd1497550084f6bf3ba2f871771b5030c8084b9ff51c8" } - ``` +} +``` -
- Example - - ```json - { - "node": { - "key": "0x36141b81b879c28068b3df0bbe9fad19c202b3ef7a140046e018c4153a8ce4c1", - "priority": "4267815944", - "left": "0x2d6a7c009097397071398f3b2a1855a5df9f6d9ce258846ba92de23aee0dfdf9", - "right": "0x371e7f58b71fea562aa728619fed387134051e19a3efe0dac2c09557852c5a5c", - "hash": "0x9cc3d207a5e341279f698cad512f517edb0e9d8df44181680f8d1d75b5573be2", - "childrenHash": "0xeb2c9ef79b7415a7d38bd1497550084f6bf3ba2f871771b5030c8084b9ff51c8" - } - } - ``` -
### StateInfo Definition: - ```protobuf + +```protobuf message StateInfo { // State info index (issuer id) string index = 1; @@ -157,23 +166,22 @@ message StateInfo { // Index of last update/create operation (will not be used in state hash) string lastUpdateOperationIndex = 5; } - ``` +``` + +Example: + +```json +{ + "state": { + "index": "0x106d23bb7bedce6caadddf7480ade7f2b8e93fa304fc51cc4030a66de90001", + "hash": "0x22121ba37492dbb16203cd6dcdb446c4a5c56a4395b145b9403819bcf34141bf", + "createdAtTimestamp": "1691866982", + "createdAtBlock": "923813", + "lastUpdateOperationIndex": "0x2fd7af49f584db04cc8048fd09be7fccf01bd7efe6c93127c0dbae55e643d625" + } +} +``` -
- Example - - ```json - { - "state": { - "index": "0x106d23bb7bedce6caadddf7480ade7f2b8e93fa304fc51cc4030a66de90001", - "hash": "0x22121ba37492dbb16203cd6dcdb446c4a5c56a4395b145b9403819bcf34141bf", - "createdAtTimestamp": "1691866982", - "createdAtBlock": "923813", - "lastUpdateOperationIndex": "0x2fd7af49f584db04cc8048fd09be7fccf01bd7efe6c93127c0dbae55e643d625" - } - } - ``` -
---- @@ -183,11 +191,12 @@ message StateInfo { **SetIdentityContractAddress** - sets the Rarimo EVM StateV2 contract address. Can be called only once when the current address is 0x. - ```protobuf - message MsgSetIdentityContractAddress { - string creator = 1; - string address = 2; - } - ``` + +```protobuf +message MsgSetIdentityContractAddress { + string creator = 1; + string address = 2; +} +``` ---- \ No newline at end of file diff --git a/x/identity/types/genesis.pb.go b/x/identity/types/genesis.pb.go index 4d29313f..cb53efd3 100644 --- a/x/identity/types/genesis.pb.go +++ b/x/identity/types/genesis.pb.go @@ -105,9 +105,9 @@ var fileDescriptor_0c7c49d412bcd530 = []byte{ 0xeb, 0x3c, 0xf3, 0xd2, 0xf2, 0x25, 0x58, 0xc0, 0x06, 0xa8, 0xe2, 0x33, 0x20, 0x18, 0xa6, 0x18, 0x6a, 0x0a, 0x42, 0xb7, 0x93, 0xc7, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, - 0xe9, 0xa5, 0x67, 0x96, 0xe4, 0x24, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43, 0x0c, 0x85, 0x52, + 0xe9, 0xa5, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43, 0x0c, 0x85, 0x52, 0xba, 0x20, 0xc3, 0xf5, 0x2b, 0xf4, 0xe1, 0x21, 0x55, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, - 0x0e, 0x2a, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x49, 0xad, 0x01, 0x28, 0xa3, 0x01, 0x00, + 0x0e, 0x2a, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdd, 0xb0, 0x63, 0xe5, 0xa3, 0x01, 0x00, 0x00, } diff --git a/x/identity/types/params.pb.go b/x/identity/types/params.pb.go index eba93560..dece10ae 100644 --- a/x/identity/types/params.pb.go +++ b/x/identity/types/params.pb.go @@ -150,28 +150,29 @@ func init() { func init() { proto.RegisterFile("identity/params.proto", fileDescriptor_1daff2e153394ac6) } var fileDescriptor_1daff2e153394ac6 = []byte{ - // 335 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x51, 0x4f, 0x4b, 0xc3, 0x30, - 0x14, 0x5f, 0xb7, 0x59, 0xd7, 0xe0, 0x29, 0x4c, 0x0d, 0x43, 0xca, 0xd8, 0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, 0xd3, 0x33, 0xd2, 0x2e, 0xf7, 0xc7, 0x22, 0x01, 0xe4, 0xc9, 0x44, 0x66, - 0xdc, 0x20, 0x64, 0x05, 0x6b, 0xd9, 0xdb, 0x76, 0x6a, 0xb4, 0x47, 0x0e, 0x50, 0x73, 0x28, 0x22, - 0xa5, 0xf0, 0x96, 0xcf, 0x99, 0x67, 0x33, 0xff, 0x70, 0x65, 0xae, 0x41, 0x40, 0x6e, 0x9e, 0x41, - 0xa2, 0xcc, 0xc5, 0x95, 0xd2, 0x63, 0x29, 0x72, 0x46, 0xba, 0x8d, 0xbe, 0x17, 0xed, 0xd4, 0x86, - 0xa3, 0x8f, 0xa5, 0xef, 0x2c, 0x96, 0xbe, 0xf3, 0xb5, 0xf4, 0x9d, 0xf7, 0x95, 0x5f, 0x5b, 0xac, - 0xfc, 0xda, 0xe7, 0xca, 0xaf, 0xbd, 0x04, 0x42, 0x62, 0x0a, 0xd3, 0x20, 0x56, 0x59, 0xb8, 0xae, - 0x6d, 0x33, 0x4e, 0xcb, 0xfa, 0xc2, 0xb7, 0xb0, 0x6a, 0x1a, 0xe7, 0x05, 0x37, 0x53, 0xd7, 0xf6, - 0x76, 0xfe, 0x13, 0x00, 0x00, 0xff, 0xff, 0x7e, 0x64, 0xcf, 0x33, 0x02, 0x02, 0x00, 0x00, + // 337 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x51, 0xcd, 0x4a, 0xf3, 0x40, + 0x14, 0x6d, 0xda, 0x7e, 0xf9, 0x9a, 0xc1, 0xd5, 0x50, 0x75, 0x28, 0x12, 0x4a, 0x57, 0xdd, 0x98, + 0x80, 0x6e, 0xdc, 0xb6, 0x82, 0x56, 0x44, 0x91, 0xb4, 0x2a, 0xb8, 0xbb, 0x4d, 0x86, 0xe9, 0x40, + 0x92, 0x09, 0x33, 0xb7, 0x60, 0xdf, 0xc2, 0xc7, 0x72, 0x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 0x52, 0x0a, 0x6f, 0xf9, 0x82, 0x79, 0x36, 0xf3, 0x17, 0x57, 0xe6, 0x1a, 0x04, 0xe4, 0xe6, + 0x19, 0x24, 0xca, 0x5c, 0x5c, 0x29, 0x3d, 0x96, 0x22, 0x67, 0xa4, 0xdb, 0xe8, 0x7b, 0xd1, 0x5e, + 0x6d, 0x38, 0x7a, 0x5f, 0xf9, 0xce, 0x72, 0xe5, 0x3b, 0x9f, 0x2b, 0xdf, 0x79, 0x5b, 0xfb, 0xb5, + 0xe5, 0xda, 0xaf, 0x7d, 0xac, 0xfd, 0xda, 0x4b, 0x20, 0x24, 0xce, 0xe6, 0xd3, 0x20, 0x56, 0x59, + 0xb8, 0xa9, 0x6d, 0x3b, 0x4e, 0xcb, 0xfa, 0xc2, 0xd7, 0xb0, 0x6a, 0x1a, 0x17, 0x05, 0x37, 0x53, + 0xd7, 0xf6, 0x76, 0xfe, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xea, 0x79, 0xad, 0xfe, 0x02, 0x02, 0x00, + 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/identity/types/query.pb.go b/x/identity/types/query.pb.go index c611174e..ef048948 100644 --- a/x/identity/types/query.pb.go +++ b/x/identity/types/query.pb.go @@ -587,50 +587,50 @@ func init() { func init() { proto.RegisterFile("identity/query.proto", fileDescriptor_1db28350c35965ea) } var fileDescriptor_1db28350c35965ea = []byte{ - // 682 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0xcf, 0x6b, 0x13, 0x41, - 0x14, 0xc7, 0x33, 0x69, 0xd3, 0xda, 0x29, 0x88, 0x8c, 0x29, 0xc8, 0x2a, 0xb1, 0x4e, 0x6d, 0x6b, - 0xab, 0x9d, 0xb1, 0x15, 0x15, 0x3d, 0xd9, 0x1e, 0xac, 0x1e, 0x94, 0x1a, 0x0f, 0x42, 0x41, 0x61, - 0x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ef, 0x00, 0x8e, 0xb7, 0xcd, 0x12, 0xba, 0x97, 0xc7, 0x91, 0xee, 0x51, 0x75, 0xee, 0x0f, 0xac, - 0xb3, 0xb0, 0x77, 0x35, 0x2c, 0x45, 0x0b, 0x39, 0xfd, 0xa4, 0x7a, 0x9e, 0x57, 0x9e, 0x1c, 0x1c, - 0x55, 0xc0, 0xe1, 0x51, 0x05, 0xfc, 0x39, 0xaa, 0x80, 0x0f, 0xad, 0x4a, 0xe1, 0xb0, 0x55, 0x29, - 0xfc, 0x6a, 0x55, 0x0a, 0xeb, 0xc4, 0xf5, 0xa4, 0xcf, 0x6a, 0x64, 0x43, 0x34, 0x4e, 0x4a, 0xf9, - 0x2e, 0x4d, 0x2a, 0x9b, 0x21, 0x8f, 0x6b, 0x23, 0xfa, 0xcf, 0xff, 0xce, 0xbf, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x11, 0xdd, 0x3a, 0xf3, 0xbd, 0x08, 0x00, 0x00, + // 684 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0x4f, 0x4f, 0xd4, 0x4e, + 0x18, 0xc7, 0x77, 0x16, 0x16, 0x7e, 0x0c, 0xc9, 0x2f, 0x66, 0x5c, 0x12, 0x53, 0x4d, 0xc5, 0x41, + 0x40, 0x50, 0x66, 0x04, 0xa3, 0x46, 0x4f, 0xc2, 0x41, 0xf4, 0xa0, 0xc1, 0xf5, 0x60, 0x42, 0xa2, + 0x49, 0x97, 0x0e, 0xb5, 0xa1, 0xdb, 0x29, 0xed, 0x60, 0xdc, 0x10, 0x2e, 0xbe, 0x02, 0x13, 0x13, + 0x4d, 0x24, 0x9e, 0x7c, 0x0d, 0xbe, 0x07, 0x2e, 0x26, 0x24, 0x5e, 0x3c, 0x19, 0xc3, 0xfa, 0x42, + 0xcc, 0xfc, 0x29, 0xdd, 0xee, 0xc2, 0x6e, 0xd7, 0x70, 0x6a, 0x33, 0xfb, 0x7c, 0x9f, 0xe7, 0xf3, + 0x7c, 0xa7, 0xcf, 0xb3, 0xb0, 0xea, 0xbb, 0x2c, 0x14, 0xbe, 0x68, 0xd2, 0xed, 0x1d, 0x16, 0x37, + 0x49, 0x14, 0x73, 0xc1, 0x91, 0x15, 0x3b, 0xb1, 0xdf, 0xe0, 0x44, 0x3f, 0x36, 0x78, 0xcc, 0x48, + 0x1a, 0x67, 0x55, 0x3d, 0xee, 0x71, 0x15, 0x46, 0xe5, 0x9b, 0x56, 0x58, 0x97, 0x3c, 0xce, 0xbd, + 0x80, 0x51, 0x27, 0xf2, 0xa9, 0x13, 0x86, 0x5c, 0x38, 0xc2, 0xe7, 0x61, 0x62, 0x7e, 0x9d, 0xdf, + 0xe0, 0x49, 0x83, 0x27, 0xb4, 0xee, 0x24, 0x4c, 0x17, 0xa2, 0x6f, 0x16, 0xeb, 0x4c, 0x38, 0x8b, + 0x34, 0x72, 0x3c, 0x3f, 0x54, 0xc1, 0x26, 0x76, 0xe2, 0x98, 0x28, 0x72, 0x62, 0xa7, 0x91, 0xa6, + 0xc8, 0x40, 0x13, 0xe1, 0x08, 0xa6, 0x4f, 0x71, 0x15, 0xa2, 0x67, 0x32, 0xdd, 0x9a, 0x0a, 0xad, + 0xb1, 0xed, 0x1d, 0x96, 0x08, 0xfc, 0x02, 0x9e, 0xcf, 0x9d, 0x26, 0x11, 0x0f, 0x13, 0x86, 0x1e, + 0xc0, 0x11, 0x9d, 0xf2, 0x02, 0x98, 0x04, 0xd7, 0xc6, 0x97, 0x30, 0x39, 0xbd, 0x4d, 0xa2, 0xb5, + 0x2b, 0xc3, 0x07, 0xbf, 0x2e, 0x97, 0x6a, 0x46, 0x87, 0x67, 0x4d, 0xe2, 0x55, 0x26, 0x9e, 0x72, + 0x97, 0x99, 0x7a, 0xe8, 0x1c, 0x1c, 0xda, 0x62, 0x4d, 0x95, 0x75, 0xac, 0x26, 0x5f, 0x71, 0x0d, + 0x56, 0xf3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 0xef, 0x5b, 0x76, 0xe9, 0xb0, + 0x65, 0x97, 0x7e, 0xb6, 0xec, 0xd2, 0x3a, 0xf1, 0x7c, 0xf1, 0x7a, 0xa7, 0x4e, 0x36, 0x78, 0xe3, + 0xa4, 0x94, 0x6f, 0xb3, 0xa4, 0xa2, 0x19, 0xb1, 0xa4, 0x3e, 0xa2, 0xfe, 0xfc, 0x6f, 0xfd, 0x0d, + 0x00, 0x00, 0xff, 0xff, 0x85, 0xc0, 0x58, 0x3e, 0xbd, 0x08, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/identity/types/state.pb.go b/x/identity/types/state.pb.go index 080b0676..5a3d5982 100644 --- a/x/identity/types/state.pb.go +++ b/x/identity/types/state.pb.go @@ -202,28 +202,28 @@ func init() { func init() { proto.RegisterFile("identity/state.proto", fileDescriptor_a879c8de568b961b) } var fileDescriptor_a879c8de568b961b = []byte{ - // 332 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x51, 0x31, 0x4f, 0xf3, 0x30, - 0x14, 0xac, 0xdb, 0xb4, 0xdf, 0x57, 0x0b, 0x21, 0x64, 0x75, 0xb0, 0x3a, 0x44, 0x55, 0x07, 0xd4, - 0x85, 0x64, 0x60, 0x63, 0xa3, 0x53, 0xbb, 0x80, 0x54, 0x60, 0x61, 0x73, 0x93, 0xd7, 0xc4, 0x6a, - 0x12, 0x47, 0xce, 0x1b, 0x9a, 0x7f, 0xc1, 0xc4, 0x6f, 0x82, 0xad, 0x23, 0x23, 0x6a, 0xfe, 0x08, - 0xb2, 0x5d, 0x22, 0x40, 0x30, 0xf9, 0xde, 0xdd, 0xf9, 0xe9, 0x9d, 0x8e, 0x8e, 0x64, 0x0c, 0x05, - 0x4a, 0xac, 0xc3, 0x0a, 0x05, 0x42, 0x50, 0x6a, 0x85, 0x8a, 0x8d, 0xb5, 0xd0, 0x32, 0x57, 0x81,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0xf7, 0x83, 0x4f, 0x9e, 0x1a, 0xbf, 0xb3, 0x6f, 0xfc, 0xce, 0x5b, - 0xe3, 0x77, 0x1e, 0x83, 0x44, 0x62, 0x26, 0xd6, 0x41, 0xa4, 0xf2, 0xd0, 0x95, 0x76, 0x7c, 0x2e, - 0x4c, 0x79, 0xe1, 0x2e, 0x6c, 0x6b, 0xc6, 0xba, 0x84, 0x6a, 0x3d, 0xb0, 0xad, 0x5d, 0x7e, 0x04, - 0x00, 0x00, 0xff, 0xff, 0x75, 0x7b, 0x58, 0xdd, 0xff, 0x01, 0x00, 0x00, + // 331 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x51, 0xb1, 0x4e, 0xc3, 0x30, + 0x14, 0xac, 0xdb, 0xb4, 0x50, 0x0b, 0x21, 0x64, 0x75, 0xb0, 0x3a, 0x44, 0x55, 0x07, 0xd4, 0x85, + 0x64, 0x60, 0x63, 0xa3, 0x53, 0xbb, 0x80, 0x54, 0x60, 0x61, 0x73, 0x93, 0xd7, 0xc4, 0x6a, 0x12, + 0x47, 0xce, 0x43, 0x6a, 0xfe, 0x82, 0x89, 0x6f, 0x82, 0xad, 0x23, 0x23, 0x6a, 0x7f, 0x04, 0xd9, + 0x2e, 0x11, 0x20, 0x98, 0x7c, 0xef, 0xee, 0xfc, 0xf4, 0x4e, 0x47, 0x07, 0x32, 0x86, 0x02, 0x25, + 0xd6, 0x61, 0x85, 0x02, 0x21, 0x28, 0xb5, 0x42, 0xc5, 0x86, 0x5a, 0x68, 0x99, 0xab, 0xc0, 0x3d, + 0x91, 0xd2, 0x10, 0x7c, 0xf9, 0x86, 0x83, 0x44, 0x25, 0xca, 0xda, 0x42, 0x83, 0xdc, 0x8f, 0xf1, + 0x0b, 0xa1, 0xde, 0x8d, 0x8a, 0x81, 0x9d, 0xd1, 0xce, 0x1a, 0x6a, 0x4e, 0x46, 0x64, 0xd2, 0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, 0xd6, 0x25, 0x54, 0xcb, 0x9e, 0x6d, 0xed, 0xf2, 0x33, 0x00, + 0x00, 0xff, 0xff, 0xe1, 0x66, 0x3a, 0x10, 0xff, 0x01, 0x00, 0x00, } func (m *Node) Marshal() (dAtA []byte, err error) { diff --git a/x/identity/types/tx.pb.go b/x/identity/types/tx.pb.go index e8f15c47..e89daa9a 100644 --- a/x/identity/types/tx.pb.go +++ b/x/identity/types/tx.pb.go @@ -135,9 +135,9 @@ var fileDescriptor_4a49ec0beed01e79 = []byte{ 0x68, 0x16, 0x23, 0x97, 0x14, 0x1e, 0x37, 0x58, 0xea, 0xe1, 0xf6, 0x81, 0x1e, 0x5e, 0x9b, 0xa4, 0x1c, 0xc9, 0xd6, 0x0a, 0x73, 0xa4, 0x93, 0xc7, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, - 0x31, 0x44, 0xe9, 0xa5, 0x67, 0x96, 0xe4, 0x24, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43, 0xcc, + 0x31, 0x44, 0xe9, 0xa5, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43, 0xcc, 0x87, 0x52, 0xba, 0x20, 0x7b, 0xf4, 0x2b, 0xf4, 0x11, 0x71, 0x51, 0x59, 0x90, 0x5a, 0x9c, 0xc4, - 0x06, 0x8e, 0x0f, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf8, 0x2d, 0xe2, 0x8a, 0xa4, 0x01, + 0x06, 0x8e, 0x0f, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6c, 0x30, 0x80, 0x47, 0xa4, 0x01, 0x00, 0x00, } diff --git a/x/multisig/README.md b/x/multisig/README.md index 1887b497..543e7fc3 100644 --- a/x/multisig/README.md +++ b/x/multisig/README.md @@ -1,3 +1,8 @@ +--- +layout: default +title: x/multisig +--- + # `x/multisig` ## Abstract @@ -15,7 +20,8 @@ The main differences between implementations: - Decision policy will be stored in the group entity. - There will be only one decision policy – threshold decision policy. - No group member entity - the base account will be used instead. -- No group administrator – the group will be managed by itself. The group member has to send a multi-signed message to remove or add a new member. The same flow works for other operations unrelated to the group management. +- No group administrator – the group will be managed by itself. The group member has to send a multi-signed message to + remove or add a new member. The same flow works for other operations unrelated to the group management. - The group member can’t leave the group at will. - If the message is valid – it will be executed automatically by the module, instead of manually execution. @@ -36,29 +42,27 @@ The multi-signature feature works in the following way: ### Params Definition: - ```protobuf - message Params { - option (gogoproto.goproto_stringer) = false; - uint64 groupSequence = 1; - uint64 proposalSequence = 2; - uint64 prunePeriod = 3; - uint64 votingPeriod = 4; - } - ``` - -
- Example - - ```json - { - "groupSequence": 0, - "proposalSequence": 0, - "prunePeriod": 240, - "votingPeriod": 120 - } - ``` -
+```protobuf +message Params { + option (gogoproto.goproto_stringer) = false; + uint64 groupSequence = 1; + uint64 proposalSequence = 2; + uint64 prunePeriod = 3; + uint64 votingPeriod = 4; +} +``` + +Example: + +```json +{ + "groupSequence": 0, + "proposalSequence": 0, + "prunePeriod": 240, + "votingPeriod": 120 +} +``` ### Group @@ -68,148 +72,154 @@ The module uses the group sequence parameter to generate a group ID for producin The group sequence is an integer stored in the module's parameters and increments during new group creation. Definition: - ```protobuf - message Group { - string account = 1; - repeated string members = 2; - uint64 threshold = 3; - } - ``` - -
- Example - - ```json - { - "account": "rarimo....", - "members": ["rarimo...", "rarimo..."], - "threshold": 1, - } - ``` -
+```protobuf +message Group { + string account = 1; + repeated string members = 2; + uint64 threshold = 3; +} +``` + +Example: + +```json +{ + "account": "rarimo....", + "members": [ + "rarimo...", + "rarimo..." + ], + "threshold": 1 +} +``` ### Proposal **Proposal** - proposal to execute some operation that should be signed by group. Definition: - ```protobuf - enum VoteOption { - YES = 0; - NO = 1; - } - - // ProposalStatus defines proposal statuses. - enum ProposalStatus { - // Initial status of a proposal when submitted. - SUBMITTED = 0; - // Status of a proposal when it passes the group's decision policy. - ACCEPTED = 1; - // Status of a proposal when it is rejected by the group's decision policy. - REJECTED = 2; - // Status of a proposal when it is successfully executed by the module. - EXECUTED = 3; - // Status of a proposal when execution is failed. - FAILED = 4; - } - - // Proposal defines a group proposal. Any member of a group can submit a proposal - // for a module to decide upon. - // A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal - // passes as well. - message Proposal { - // Account address of the proposer. - string proposer = 1; - // Unique id of the proposal. - uint64 id = 2; - // Account address of the group. - string group = 3; - // Block height when the proposal was submitted. - uint64 submitBlock = 5; - // Status represents the high level position in the life cycle of the proposal. Initial value is Submitted. - ProposalStatus status = 8; - // Contains the sums of all votes for this proposal for each vote option. - // It is empty at submission, and only populated after tallying, at voting end block. - TallyResult finalTallyResult = 9; - // Block height before which voting must be done. - uint64 votingEndBlock = 10; - // List of `sdk.Msg`s that will be executed if the proposal passes. - repeated google.protobuf.Any messages = 12; - } - - // TallyResult represents the sum of votes for each vote option. - message TallyResult { - // Sum of yes votes. - uint64 yesCount = 1; - // Sum of no votes. - uint64 noCount = 3; - } - - // Vote represents a vote for a proposal. - message Vote { - // Unique ID of the proposal. - uint64 proposalId = 1; - // Voter is the account address of the voter. - string voter = 2; - // Option is the voter's choice on the proposal. - VoteOption option = 3; - // Block height when the vote was submitted. - uint64 submitBlock = 5; - } - ``` + +```protobuf +enum VoteOption { + YES = 0; + NO = 1; +} + +// ProposalStatus defines proposal statuses. +enum ProposalStatus { + // Initial status of a proposal when submitted. + SUBMITTED = 0; + // Status of a proposal when it passes the group's decision policy. + ACCEPTED = 1; + // Status of a proposal when it is rejected by the group's decision policy. + REJECTED = 2; + // Status of a proposal when it is successfully executed by the module. + EXECUTED = 3; + // Status of a proposal when execution is failed. + FAILED = 4; +} + +// Proposal defines a group proposal. Any member of a group can submit a proposal +// for a module to decide upon. +// A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal +// passes as well. +message Proposal { + // Account address of the proposer. + string proposer = 1; + // Unique id of the proposal. + uint64 id = 2; + // Account address of the group. + string group = 3; + // Block height when the proposal was submitted. + uint64 submitBlock = 5; + // Status represents the high level position in the life cycle of the proposal. Initial value is Submitted. + ProposalStatus status = 8; + // Contains the sums of all votes for this proposal for each vote option. + // It is empty at submission, and only populated after tallying, at voting end block. + TallyResult finalTallyResult = 9; + // Block height before which voting must be done. + uint64 votingEndBlock = 10; + // List of `sdk.Msg`s that will be executed if the proposal passes. + repeated google.protobuf.Any messages = 12; +} + +// TallyResult represents the sum of votes for each vote option. +message TallyResult { + // Sum of yes votes. + uint64 yesCount = 1; + // Sum of no votes. + uint64 noCount = 3; +} + +// Vote represents a vote for a proposal. +message Vote { + // Unique ID of the proposal. + uint64 proposalId = 1; + // Voter is the account address of the voter. + string voter = 2; + // Option is the voter's choice on the proposal. + VoteOption option = 3; + // Block height when the vote was submitted. + uint64 submitBlock = 5; +} +``` ---- ## Transactions - ## RPC ### SubmitProposal **SubmitProposal** - creates proposal to execute some set of messages signed by group account. - ```protobuf - message MsgSubmitProposal { - string creator = 1; - string group = 2; - repeated google.protobuf.Any messages = 3; - } - ``` + +```protobuf +message MsgSubmitProposal { + string creator = 1; + string group = 2; + repeated google.protobuf.Any messages = 3; +} +``` ### Vote **Vote** - vote for proposal. - ```protobuf - message MsgVote { - string creator = 1; - uint64 proposalId = 2; - VoteOption option = 3; - } - ``` + +```protobuf +message MsgVote { + string creator = 1; + uint64 proposalId = 2; + VoteOption option = 3; +} +``` ### CreateGroup **CreateGroup** - creating of the new group. - ```protobuf - message MsgCreateGroup { - string creator = 1; - repeated string members = 2; - uint64 threshold = 3; - } - ``` + +```protobuf +message MsgCreateGroup { + string creator = 1; + repeated string members = 2; + uint64 threshold = 3; +} +``` ### ChangeGroup **ChangeGroup** - changing group parameters or set of participants. - The signer of that message should be a group account, so that message can be executed only from that module using multisig flow. - ```protobuf - message MsgChangeGroup { - string creator = 1; - string group = 2; - repeated string members = 3; - uint64 threshold = 4; - } - ``` +The signer of that message should be a group account, so that message can be executed only from that module using +multisig flow. + +```protobuf +message MsgChangeGroup { + string creator = 1; + string group = 2; + repeated string members = 3; + uint64 threshold = 4; +} +``` ---- \ No newline at end of file diff --git a/x/multisig/types/genesis.pb.go b/x/multisig/types/genesis.pb.go index 56a049cb..c06b8b4b 100644 --- a/x/multisig/types/genesis.pb.go +++ b/x/multisig/types/genesis.pb.go @@ -115,10 +115,10 @@ var fileDescriptor_a3c79a385819d9d8 = []byte{ 0x4e, 0x5c, 0x1c, 0x65, 0xf9, 0x25, 0xa9, 0x60, 0xb3, 0x58, 0xc0, 0x66, 0x29, 0xe0, 0x33, 0x2b, 0x2c, 0xbf, 0x24, 0x15, 0x6a, 0x0e, 0x5c, 0x9f, 0x93, 0xc7, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, - 0x1e, 0xcb, 0x31, 0x44, 0xe9, 0xa5, 0x67, 0x96, 0xe4, 0x24, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, + 0x1e, 0xcb, 0x31, 0x44, 0xe9, 0xa5, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43, 0x8c, 0x83, 0x52, 0xba, 0x20, 0x63, 0xf5, 0x2b, 0xf4, 0xe1, 0x11, 0x50, 0x52, 0x59, 0x90, - 0x5a, 0x9c, 0xc4, 0x06, 0x0e, 0x7e, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xea, 0x88, 0x63, - 0xd0, 0x10, 0x02, 0x00, 0x00, + 0x5a, 0x9c, 0xc4, 0x06, 0x0e, 0x7e, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7e, 0x95, 0x01, + 0x1d, 0x10, 0x02, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/multisig/types/group.pb.go b/x/multisig/types/group.pb.go index a51ce377..634f430a 100644 --- a/x/multisig/types/group.pb.go +++ b/x/multisig/types/group.pb.go @@ -99,9 +99,9 @@ var fileDescriptor_5b9f72318732df83 = []byte{ 0x71, 0x96, 0x64, 0x14, 0xa5, 0x16, 0x67, 0xe4, 0xe7, 0xa4, 0x48, 0x30, 0x2b, 0x30, 0x6a, 0xb0, 0x04, 0x21, 0x04, 0x9c, 0x3c, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0x4a, - 0x2f, 0x3d, 0xb3, 0x24, 0x27, 0x31, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x1f, 0xe2, 0x28, 0x28, 0xa5, + 0x2f, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x1f, 0xe2, 0x28, 0x28, 0xa5, 0x0b, 0x72, 0x9c, 0x7e, 0x85, 0x3e, 0xdc, 0x1b, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0x60, - 0x7f, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x0c, 0x01, 0x93, 0x16, 0xdf, 0x00, 0x00, 0x00, + 0x7f, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x98, 0x1c, 0xf1, 0xdb, 0xdf, 0x00, 0x00, 0x00, } func (m *Group) Marshal() (dAtA []byte, err error) { diff --git a/x/multisig/types/params.pb.go b/x/multisig/types/params.pb.go index 9a7e70f6..d85164a9 100644 --- a/x/multisig/types/params.pb.go +++ b/x/multisig/types/params.pb.go @@ -111,10 +111,10 @@ var fileDescriptor_dcc87964fe579db0 = []byte{ 0x45, 0x99, 0xf9, 0x29, 0x12, 0xcc, 0x60, 0x65, 0xc8, 0x42, 0x42, 0x4a, 0x5c, 0x3c, 0x65, 0xf9, 0x25, 0x99, 0x79, 0xe9, 0x50, 0x25, 0x2c, 0x60, 0x25, 0x28, 0x62, 0x4e, 0x1e, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, - 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0xa5, 0x97, 0x9e, 0x59, 0x92, 0x93, 0x98, 0xa4, 0x97, + 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0xa5, 0x97, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x0f, 0xf1, 0x32, 0x94, 0xd2, 0x05, 0x79, 0x5d, 0xbf, 0x42, 0x1f, 0x1e, 0x4a, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0x60, 0x3f, 0x1b, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, - 0x12, 0xa3, 0x7a, 0xfb, 0x3e, 0x01, 0x00, 0x00, + 0x86, 0xbe, 0x18, 0x36, 0x3e, 0x01, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/multisig/types/proposal.pb.go b/x/multisig/types/proposal.pb.go index 0bc471f9..d055c787 100644 --- a/x/multisig/types/proposal.pb.go +++ b/x/multisig/types/proposal.pb.go @@ -342,37 +342,37 @@ func init() { proto.RegisterFile("multisig/proposal.proto", fileDescriptor_840e3 var fileDescriptor_840e3fa04af7a565 = []byte{ // 501 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xd1,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, 0x36, 0x36, 0xfa, 0xb1, 0xb1, 0xd1, 0x97, 0xad, + 0x5d, 0xb9, 0xd9, 0xda, 0x95, 0xef, 0x5b, 0xbb, 0xf2, 0x81, 0x84, 0x5c, 0x7d, 0xcc, 0xe6, 0x64, + 0x21, 0x56, 0x6e, 0xf1, 0xc8, 0xdd, 0xe7, 0x71, 0xfe, 0x58, 0xf7, 0xb3, 0xbb, 0xff, 0x93, 0xd4, + 0x3a, 0x61, 0x72, 0x5e, 0xd7, 0xe9, 0x3d, 0xfd, 0x15, 0x00, 0x00, 0xff, 0xff, 0x21, 0x84, 0x42, + 0xfe, 0x62, 0x03, 0x00, 0x00, } func (m *Proposal) Marshal() (dAtA []byte, err error) { diff --git a/x/multisig/types/query.pb.go b/x/multisig/types/query.pb.go index ce1a3b84..74a4ab67 100644 --- a/x/multisig/types/query.pb.go +++ b/x/multisig/types/query.pb.go @@ -799,60 +799,60 @@ func init() { func init() { proto.RegisterFile("multisig/query.proto", fileDescriptor_11fc1a9b99e9eb14) } var fileDescriptor_11fc1a9b99e9eb14 = []byte{ - // 842 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x97, 0xcf, 0x4b, 0x1b, 0x5b, - 0x14, 0xc7, 0x73, 0x35, 0xf1, 0xc7, 0x75, 0xf1, 0xe0, 0xbe, 0x88, 0x61, 0x9e, 0xe4, 0xe9, 0x55, - 0x9f, 0x3e, 0x5b, 0xe7, 0xc6, 0x28, 0xd6, 0x0a, 0x2d, 0x8d, 0x0b, 0xd3, 0xd2, 0x8d, 0xcd, 0xc2, - 0x42, 0xa1, 0x85, 0x49, 0x3a, 0x0c, 0x81, 0x49, 0xee, 0x38, 0x33, 0x91, 0x8a, 0xb8, 0x29, 0x74, - 0x5f, 0x28, 0xb4, 0x0b, 0x17, 0x85, 0x76, 0x51, 0x4a, 0x57, 0xdd, 0x77, 0x5d, 0x5c, 0x0a, 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, 0xf1, 0x46, 0xb7, 0x9c, 0xcf, - 0x82, 0xac, 0xee, 0xbe, 0xa5, 0x3b, 0xd5, 0x21, 0xf1, 0x0f, 0xc1, 0xca, 0xef, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xc9, 0x2d, 0x9e, 0x02, 0xea, 0x0c, 0x00, 0x00, + // 839 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x97, 0xcf, 0x4f, 0x13, 0x41, + 0x14, 0xc7, 0x3b, 0xd0, 0xf2, 0x63, 0x38, 0x98, 0x8c, 0x25, 0x34, 0x2b, 0xa9, 0x30, 0x80, 0x20, + 0xca, 0x4e, 0x29, 0x04, 0x91, 0x44, 0x63, 0x39, 0x50, 0x8d, 0x17, 0xec, 0x01, 0x13, 0x13, 0x4d, + 0xb6, 0x75, 0xb3, 0x36, 0xd9, 0x76, 0x96, 0xdd, 0x2d, 0x91, 0x10, 0x2e, 0x26, 0xde, 0x4d, 0x4c, + 0xf4, 0xc0, 0xc1, 0x44, 0x0f, 0xc6, 0x78, 0xf2, 0xee, 0xd9, 0x70, 0x24, 0xf1, 0xe2, 0xc9, 0x18, + 0xf0, 0x0f, 0x31, 0x3b, 0xf3, 0x96, 0x6d, 0x97, 0xd2, 0xee, 0x92, 0x1e, 0x3c, 0x95, 0xdd, 0x7d, + 0xdf, 0xf7, 0x3e, 0xef, 0x3b, 0x3f, 0x5e, 0xc0, 0xe9, 0x5a, 0xc3, 0x74, 0xab, 0x4e, 0xd5, 0x60, + 0xdb, 0x0d, 0xdd, 0xde, 0x55, 0x2d, 0x9b, 0xbb, 0x9c, 0x28, 0xb6, 0x66, 0x57, 0x6b, 0x5c, 0x95, + 0x3f, 0x15, 0x6e, 0xeb, 0xaa, 0x1f, 0xa7, 0xa4, 0x0d, 0x6e, 0x70, 0x11, 0xc6, 0xbc, 0xbf, 0xa4, + 0x42, 0x19, 0x37, 0x38,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, 0xa4, 0x77, 0x42, 0x09, 0x8b, 0x62, 0x52, 0xd3, 0x8d, 0xac, + 0xe4, 0xa2, 0x0b, 0x00, 0xed, 0xae, 0x40, 0x5b, 0x25, 0x2b, 0x1d, 0xd1, 0xbc, 0x3b, 0xa2, 0xc5, + 0x4d, 0xb6, 0x27, 0xa6, 0xcd, 0x3e, 0x79, 0x8f, 0xf0, 0xa0, 0x97, 0xd0, 0x73, 0x94, 0x45, 0x31, + 0x27, 0x1e, 0x6e, 0x68, 0x22, 0xd0, 0xeb, 0x02, 0x77, 0x8a, 0x4c, 0x76, 0xc5, 0x25, 0xdf, 0x11, + 0xbe, 0x14, 0xba, 0x2a, 0xc9, 0xad, 0xae, 0x05, 0xdb, 0x5f, 0xf2, 0xca, 0x6a, 0x7c, 0x21, 0x10, + 0xaf, 0x08, 0xe2, 0x1c, 0x51, 0xe3, 0x19, 0xbc, 0x7e, 0xff, 0xf0, 0x38, 0x8b, 0x8e, 0x8e, 0xb3, + 0xe8, 0xcf, 0x71, 0x16, 0xbd, 0x39, 0xc9, 0x26, 0x8e, 0x4e, 0xb2, 0x89, 0x5f, 0x27, 0xd9, 0xc4, + 0x13, 0xd5, 0xa8, 0xba, 0x2f, 0x1a, 0x65, 0xb5, 0xc2, 0x6b, 0xed, 0x72, 0xbe, 0x0c, 0xb2, 0xba, + 0xbb, 0x96, 0xee, 0x94, 0x07, 0xc4, 0x3f, 0x04, 0x4b, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x5d, + 0x30, 0xfc, 0xcf, 0xea, 0x0c, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/multisig/types/tx.pb.go b/x/multisig/types/tx.pb.go index 3e634623..c02e604a 100644 --- a/x/multisig/types/tx.pb.go +++ b/x/multisig/types/tx.pb.go @@ -451,36 +451,36 @@ func init() { proto.RegisterFile("multisig/tx.proto", fileDescriptor_b5c3da0d08f var fileDescriptor_b5c3da0d08f1d6d8 = []byte{ // 482 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0x41, 0x8b, 0xd3, 0x40, - 0x14, 0xc7, 0x9b, 0xa6, 0x6e, 0xdd, 0xb7, 0x50, 0x69, 0x58, 0x34, 0x1b, 0x24, 0x94, 0x08, 0x52, - 0x94, 0x9d, 0x48, 0xc5, 0x93, 0x20, 0xa8, 0x07, 0xf5, 0x50, 0x94, 0x08, 0x22, 0xde, 0x92, 0xee, - 0x38, 0x0d, 0x24, 0x79, 0x61, 0x66, 0x22, 0xed, 0xd9, 0x2f, 0xe0, 0x97, 0xf1, 0x3b, 0x78, 0xdc, - 0xa3, 0x47, 0x69, 0xbf, 0x88, 0x24, 0x93, 0xa4, 0x69, 0xeb, 0x36, 0xf5, 0x34, 0xcc, 0xcc, 0xff, - 0xbd, 0xff, 0x8f, 0xf7, 0x1f, 0x06, 0x86, 0x71, 0x16, 0xc9, 0x50, 0x84, 0xcc, 0x95, 0x0b, 0x92, - 0x72, 0x94, 0x68, 0x58, 0xdc, 0xe7, 0x61, 0x8c, 0x44, 0x2d, 0x33, 0xe4, 0x94, 0x54, 0x22, 0xeb, - 0x82, 0x21, 0xb2, 0x88, 0xba, 0x85, 0x32, 0xc8, 0xbe, 0xba, 0x7e, 0xb2, 0x54, 0x65, 0xd6, 0xbd, - 0xba, 0x53, 0xca, 0x31, 0x45, 0xe1, 0x47, 0xea, 0xc2, 0xc9, 0x60, 0x38, 0x15, 0xec, 0x63, 0x16, - 0xc4, 0xa1, 0xfc, 0x50, 0x5e, 0x19, 0x26, 0xf4, 0x67, 0x9c, 0xfa, 0x12, 0xb9, 0xa9, 0x8d, 0xb4, - 0xf1, 0xa9, 0x57, 0x6d, 0x8d, 0x73, 0xb8, 0xc5, 0x38, 0x66, 0xa9, 0xd9, 0x2d, 0xce, 0xd5, 0xc6, - 0x78, 0x02, 0xb7, 0x63, 0x2a, 0x84, 0xcf, 0xa8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 0xce, 0xef, 0x8d, 0xdd, 0xf9, 0x42, 0x58, 0x28, 0xe7, 0x69, 0x40, 0x66, 0x18, + 0xb9, 0xaa, 0x61, 0xb1, 0x5c, 0x66, 0x8d, 0xdd, 0xa5, 0x5b, 0xff, 0x64, 0xab, 0x84, 0x8a, 0xe0, + 0x24, 0xff, 0x17, 0x9e, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x56, 0xb7, 0x14, 0x42, 0xe2, 0x04, 0x00, 0x00, } diff --git a/x/oraclemanager/README.md b/x/oraclemanager/README.md index 293bd06e..2b98a5ad 100644 --- a/x/oraclemanager/README.md +++ b/x/oraclemanager/README.md @@ -1,8 +1,14 @@ +--- +layout: default +title: x/oraclemanager +--- + # `x/oraclemanager` ## Abstract -The `oraclemanager` cosmos module contains logic for managing distibuted public oracles that supports our bridge by delivering +The `oraclemanager` cosmos module contains logic for managing distibuted public oracles that supports our bridge by +delivering information about transfers. ---- @@ -13,6 +19,7 @@ In the `oraclemanager` the oracles will be organized into the groups for every s Of course, we imply that the same account can be the oracle in several groups. Also, oracle will have the following related data: + - Status: Slashed, Freezed, Jailed, Active and Inactive - Stake amount - Missed count - the count of missed vote @@ -21,42 +28,52 @@ Also, oracle will have the following related data: - Voted operations - Created operations - The following list full describes system rules and architecture: 1. There will be configured the following parameters: - min_oracle_stake - minimum amount of RMO tokens to become an oracle. - - check_op_delta - the amount of blocks after operation voting finish to perform slashing of malicious oracles (described below in 6). - - max_violation_count - the amount of violation that an oracle can reach before it will be freezed (described below in 6). + - check_op_delta - the amount of blocks after operation voting finish to perform slashing of malicious oracles ( + described below in 6). + - max_violation_count - the amount of violation that an oracle can reach before it will be freezed (described below + in 6). - max_missed_count - the amount of violation that oracle can reach before it will be jailed (described below in 6). - slashed_freeze_blocks - the amount of blocks until the oracle stake will be burned (described below in 7). - min_oracles_count - minimal count of oracles to verify operations on the certain chain (global for all chains). -2. Oracles will be separated to the lists of accounts that support certain chains (chains defined in params of `tokenmanager` module). +2. Oracles will be separated to the lists of accounts that support certain chains (chains defined in params + of `tokenmanager` module). So every chain will have their own list of oracles that observes its state, submits and votes for operations. 3. To become an oracle for a certain chain account (that will be used by oracle service) should stake at least min_oracle_stake tokens through the `oraclemanager` by submitting the `Stake` transaction. To use the same oracle account for several chains, the account owner should stake tokens for every chain separately. -4. It is possible to unstake tokens and stop taking part in voting and creating new operations if the oracle owner wants. +4. It is possible to unstake tokens and finish taking part in voting and creating new operations if the oracle owner + wants. Through the `oraclemanager` oracle owner can submit `Unstake` transaction and return the staked coins. After that oracle will not be able to create operations and vote for the created one. -5. After staking, if the chain has at least min_oracles_count oracles, every oracle can create and vote for new operations, - using the proxy method in `oraclemanager` (`CreateTransferOperation` and `Vote` that will trigger logic in the `rarimocore` module). +5. After staking, if the chain has at least min_oracles_count oracles, every oracle can create and vote for new + operations, + using the proxy method in `oraclemanager` (`CreateTransferOperation` and `Vote` that will trigger logic in + the `rarimocore` module). Oracle voting power will be calculated depending on the oracle account staked tokens amount. 6. The `oraclemanager` will control votes and new operations to perform slashing of malicious oracles. - For every operation that has Approved or NotApproved status after check_op_delta blocks `oraclemanager` EndBlock method will iterate over all votes and: + For every operation that has Approved or NotApproved status after check_op_delta blocks `oraclemanager` EndBlock + method will iterate over all votes and: - Increase missed counter for oracles that haven't submitted their Vote. - Increase violations counter for oracles that have submitted a `Vote` with answer `NO` for `Approved` operation. - - Increase violations counter for oracles that have submitted a `Vote` with answer `YES` for `NotApproved` operation. + - Increase violations counter for oracles that have submitted a `Vote` with answer `YES` for `NotApproved` + operation. - Increase violations counter for oracles that have created a `NotApproved` operation. Also, EndBlock method will iterate over all oracles and: -- if oracle reaches max_violation_count its status will be set as `Freezed`. Freezed oracle accounts will not be able to create operations and vote for the created one. -- if oracle reaches max_missed_count its status will be set as `Jailed`. Jailed oracle accounts will not be able to create operations and vote for the created one. + +- if oracle reaches max_violation_count its status will be set as `Freezed`. Freezed oracle accounts will not be able to + create operations and vote for the created one. +- if oracle reaches max_missed_count its status will be set as `Jailed`. Jailed oracle accounts will not be able to + create operations and vote for the created one. 7. After freezing the oracle owner can create a proposal to unfreeze his account (`CreateOracleUnfreezeProposal` transaction on `oraclemanager` module) and if it becomes accepted the oracle account @@ -74,86 +91,84 @@ Also, EndBlock method will iterate over all oracles and: ### Params Definition: - ```protobuf - message Params { - string minOracleStake = 1; - uint64 checkOperationDelta = 2; - uint64 maxViolationsCount = 3; - uint64 maxMissedCount = 4; - uint64 slashedFreezeBlocks = 5; - uint64 minOraclesCount = 6; - string stakeDenom = 7; - string voteQuorum = 8; - string voteThreshold = 9; - } - ``` - -
- Example - - ```json - { - "minOracleStake": "1000000", - "checkOperationDelta": "10", - "maxViolationsCount": "10", - "maxMissedCount": "10", - "slashedFreezeBlocks": "240", - "minOraclesCount": "1", - "stakeDenom": "stake", - "voteQuorum": "0.900000000000000000", - "voteThreshold": "0.667000000000000000" - } - ``` -
+ +```protobuf +message Params { + string minOracleStake = 1; + uint64 checkOperationDelta = 2; + uint64 maxViolationsCount = 3; + uint64 maxMissedCount = 4; + uint64 slashedFreezeBlocks = 5; + uint64 minOraclesCount = 6; + string stakeDenom = 7; + string voteQuorum = 8; + string voteThreshold = 9; +} +``` + +Example: + +```json +{ + "minOracleStake": "1000000", + "checkOperationDelta": "10", + "maxViolationsCount": "10", + "maxMissedCount": "10", + "slashedFreezeBlocks": "240", + "minOraclesCount": "1", + "stakeDenom": "stake", + "voteQuorum": "0.900000000000000000", + "voteThreshold": "0.667000000000000000" +} +``` ### Oracle Definition: - ```protobuf - enum OracleStatus { - Inactive = 0; - Active = 1; - Jailed = 2; - Freezed = 3; - Slashed = 4; - } - - message OracleIndex { - string chain = 1; - string account = 2; - } - - message Oracle { - OracleIndex index = 1; - OracleStatus status = 2; - string stake = 3; - uint64 missedCount = 4; - uint64 violationsCount = 5; - uint64 freezeEndBlock = 6; - uint64 votesCount = 7; - uint64 createOperationsCount = 8; - } - ``` - -
- Example - - ```json - { - "index": { - "chain": "Solana", - "account": "rarimo1g9p4ejp9p877j9vdnuyqtgqm4lhm4f6j7uaztx" - }, - "status": "Active", - "stake": "1000000", - "missedCount": "0", - "violationsCount": "0", - "freezeEndBlock": "0", - "votesCount": "22", - "createOperationsCount": "22" - } - ``` -
+ +```protobuf +enum OracleStatus { + Inactive = 0; + Active = 1; + Jailed = 2; + Freezed = 3; + Slashed = 4; +} + +message OracleIndex { + string chain = 1; + string account = 2; +} + +message Oracle { + OracleIndex index = 1; + OracleStatus status = 2; + string stake = 3; + uint64 missedCount = 4; + uint64 violationsCount = 5; + uint64 freezeEndBlock = 6; + uint64 votesCount = 7; + uint64 createOperationsCount = 8; +} +``` + +Example: + +```json +{ + "index": { + "chain": "Solana", + "account": "rarimo1g9p4ejp9p877j9vdnuyqtgqm4lhm4f6j7uaztx" + }, + "status": "Active", + "stake": "1000000", + "missedCount": "0", + "violationsCount": "0", + "freezeEndBlock": "0", + "votesCount": "22", + "createOperationsCount": "22" +} +``` ---- @@ -161,33 +176,36 @@ Definition: ### CreateTransferOperation -**CreateTransferOperation** - crates Operation with type `TRANSFER` and `INITIALIZED` status. -Metadata should be provided in case of first NFT transfer. Tx, EventId, Sender can be specified in native for source chain format. +**CreateTransferOperation** - creates Operation with type `TRANSFER` and `INITIALIZED` status. +Metadata should be provided in case of first NFT transfer. Tx, EventId, Sender can be specified in native for source +chain format. Other data should be formatted into hex with `0x` prefix. - ```protobuf - message MsgCreateTransferOp { - string creator = 1; - // Information to identify transfer - string tx = 2; - string eventId = 3; - string sender = 4; - // Information about deposit - string receiver = 5; - string amount = 6; - string bundleData = 7;// hex-encoded - string bundleSalt = 8;// hex-encoded - // Information about current and target chains - rarimo.rarimocore.tokenmanager.OnChainItemIndex from = 9; - rarimo.rarimocore.tokenmanager.OnChainItemIndex to = 10; - rarimo.rarimocore.tokenmanager.ItemMetadata meta = 11; // Optional (if item currently does not exists) - } - ``` + +```protobuf +message MsgCreateTransferOp { + string creator = 1; + // Information to identify transfer + string tx = 2; + string eventId = 3; + string sender = 4; + // Information about deposit + string receiver = 5; + string amount = 6; + string bundleData = 7;// hex-encoded + string bundleSalt = 8;// hex-encoded + // Information about current and target chains + rarimo.rarimocore.tokenmanager.OnChainItemIndex from = 9; + rarimo.rarimocore.tokenmanager.OnChainItemIndex to = 10; + rarimo.rarimocore.tokenmanager.ItemMetadata meta = 11; // Optional (if item currently does not exists) +} +``` ### CreateIdentityDefaultTransferOperation -**CreateIdentityDefaultTransferOperation** - crates Operation with type `IDENTITY_DEFAULT_TRANSFER` and `INITIALIZED` status. +**CreateIdentityDefaultTransferOperation** - creates Operation with type `IDENTITY_DEFAULT_TRANSFER` and `INITIALIZED` +status. - ```protobuf +```protobuf message MsgCreateIdentityDefaultTransferOp { string creator = 1; // Hex 0x @@ -212,47 +230,118 @@ message MsgCreateIdentityDefaultTransferOp { string replacedStateHash = 17; string replacedGISTtHash = 18; } - ``` +``` + +### CreateIdentityGISTTransferOperation + +**CreateIdentityGISTTransferOperation** - creates Operation with type `IDENTITY_GIST_TRANSFER` and `INITIALIZED` +status. + +```protobuf +message MsgCreateIdentityGISTTransferOp { + string creator = 1; + // Hex 0x + string contract = 2; + string chain = 3; + // Hex 0x + string GISTHash = 4; + // Hex 0x + string GISTReplacedBy = 5; + // Dec + string GISTCreatedAtTimestamp = 6; + string GISTCreatedAtBlock = 7; + // HEx 0x + string replacedGISTtHash = 8; +} +``` + +### CreateIdentityStateTransferOperation + +**CreateIdentityStateTransferOperation** - creates Operation with type `IDENTITY_STATE_TRANSFER` and `INITIALIZED` +status. + +```protobuf +message MsgCreateIdentityStateTransferOp { + string creator = 1; + // Hex 0x + string contract = 2; + string chain = 3; + // Hex 0x + string id = 5; + // Hex 0x + string stateHash = 6; + // Dec + string stateCreatedAtTimestamp = 7; + string stateCreatedAtBlock = 8; + // HEx 0x + string replacedStateHash = 17; +} +``` + +### CreateWorldCoinIdentifierTransferOperation + +**CreateWorldCoinIdentifierTransferOperation** - creates Operation with type `WORLDCOIN_IDENTITY_TRANSFER` and +`INITIALIZED` status. + +```protobuf +message MsgCreateWorldCoinIdentityTransferOp { + string creator = 1; + string contract = 2; + string chain = 3; + // Hex 0x uint256 + string prevState = 4; + // Hex 0x uint256 + string state = 5; + // Dec uint256 + string timestamp = 6; + uint64 blockNumber = 7; +} +``` ### Vote **Vote** - vote for operation. Vote power will be equal to the voter staked balance. After total voting power reaches required quorum operation status changes to `APPROVED` or `NOT_APPROVED`. - ```protobuf - message MsgVote{ - rarimo.rarimocore.oraclemanager.OracleIndex index = 1; - string operation = 2; - rarimo.rarimocore.rarimocore.VoteType vote = 3; - } - ``` + +```protobuf +message MsgVote{ + rarimo.rarimocore.oraclemanager.OracleIndex index = 1; + string operation = 2; + rarimo.rarimocore.rarimocore.VoteType vote = 3; +} +``` ### Stake -**Stake** - stake tokens to become active oracle. Also it is possible to re-activate unstaked oracle and stake more tokens use that message. - ```protobuf - message MsgStake { - rarimo.rarimocore.oraclemanager.OracleIndex index = 1; - string amount = 2; - } - ``` +**Stake** - stake tokens to become active oracle. Also it is possible to re-activate unstaked oracle and stake more +tokens use that message. + +```protobuf +message MsgStake { + rarimo.rarimocore.oraclemanager.OracleIndex index = 1; + string amount = 2; +} +``` ### Unstake **Unstake** - unstake all tokens and stop to be an active oracle - ```protobuf - message MsgUnstake { - rarimo.rarimocore.oraclemanager.OracleIndex index = 1; - } - ``` + +```protobuf +message MsgUnstake { + rarimo.rarimocore.oraclemanager.OracleIndex index = 1; +} +``` ### Unjail **Unjail** - unjail `Jailed` oracle - ```protobuf - message MsgUnjail{ - rarimo.rarimocore.oraclemanager.OracleIndex index = 1; - } - ``` + +```protobuf +message MsgUnjail{ + rarimo.rarimocore.oraclemanager.OracleIndex index = 1; +} +``` ---- @@ -261,23 +350,25 @@ required quorum operation status changes to `APPROVED` or `NOT_APPROVED`. ### OracleUnfreezeProposal **OracleUnfreezeProposal** - unfreeze slashed oracle proposal. - ```protobuf - message OracleUnfreezeProposal { - string title = 1; - string description = 2; - rarimo.rarimocore.oraclemanager.OracleIndex index = 3; - } - ``` + +```protobuf +message OracleUnfreezeProposal { + string title = 1; + string description = 2; + rarimo.rarimocore.oraclemanager.OracleIndex index = 3; +} +``` ### ChangeParamsProposal **ChangeParamsProposal** - changing of module params - ```protobuf + +```protobuf message ChangeParamsProposal { string title = 1; string description = 2; Params params = 3 [(gogoproto.nullable) = false]; } - ``` +``` ---- diff --git a/x/oraclemanager/handler.go b/x/oraclemanager/handler.go index 647d20ef..6686ab36 100644 --- a/x/oraclemanager/handler.go +++ b/x/oraclemanager/handler.go @@ -5,6 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/gogo/protobuf/proto" "github.com/rarimo/rarimo-core/x/oraclemanager/keeper" "github.com/rarimo/rarimo-core/x/oraclemanager/types" ) @@ -15,26 +16,33 @@ func NewHandler(k keeper.Keeper) sdk.Handler { return func(ctx sdk.Context, msg sdk.Msg) (*sdk.Result, error) { ctx = ctx.WithEventManager(sdk.NewEventManager()) + var res proto.Message + var err error switch msg := msg.(type) { case *types.MsgStake: - res, err := msgServer.Stake(sdk.WrapSDKContext(ctx), msg) - return sdk.WrapServiceResult(ctx, res, err) + res, err = msgServer.Stake(sdk.WrapSDKContext(ctx), msg) case *types.MsgUnstake: - res, err := msgServer.Unstake(sdk.WrapSDKContext(ctx), msg) - return sdk.WrapServiceResult(ctx, res, err) + res, err = msgServer.Unstake(sdk.WrapSDKContext(ctx), msg) case *types.MsgUnjail: - res, err := msgServer.Unjail(sdk.WrapSDKContext(ctx), msg) - return sdk.WrapServiceResult(ctx, res, err) + res, err = msgServer.Unjail(sdk.WrapSDKContext(ctx), msg) case *types.MsgCreateTransferOp: - res, err := msgServer.CreateTransferOperation(sdk.WrapSDKContext(ctx), msg) - return sdk.WrapServiceResult(ctx, res, err) + res, err = msgServer.CreateTransferOperation(sdk.WrapSDKContext(ctx), msg) + case *types.MsgCreateIdentityDefaultTransferOp: + res, err = msgServer.CreateIdentityDefaultTransferOperation(sdk.WrapSDKContext(ctx), msg) + case *types.MsgCreateIdentityGISTTransferOp: + res, err = msgServer.CreateIdentityGISTTransferOperation(sdk.WrapSDKContext(ctx), msg) + case *types.MsgCreateIdentityStateTransferOp: + res, err = msgServer.CreateIdentityStateTransferOperation(sdk.WrapSDKContext(ctx), msg) + case *types.MsgCreateWorldCoinIdentityTransferOp: + res, err = msgServer.CreateWorldCoinIdentityTransferOperation(sdk.WrapSDKContext(ctx), msg) case *types.MsgVote: - res, err := msgServer.Vote(sdk.WrapSDKContext(ctx), msg) - return sdk.WrapServiceResult(ctx, res, err) + res, err = msgServer.Vote(sdk.WrapSDKContext(ctx), msg) default: errMsg := fmt.Sprintf("unrecognized %s message type: %T", types.ModuleName, msg) return nil, sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) } + + return sdk.WrapServiceResult(ctx, res, err) } } diff --git a/x/oraclemanager/keeper/abci.go b/x/oraclemanager/keeper/abci.go index 68cff545..73c27d28 100644 --- a/x/oraclemanager/keeper/abci.go +++ b/x/oraclemanager/keeper/abci.go @@ -10,7 +10,16 @@ import ( func (k Keeper) EndBlocker(ctx sdk.Context) { k.IterateOverMonitorQueue(ctx, uint64(ctx.BlockHeight()), func(operation rarimotypes.Operation) (stop bool) { k.RemoveFromMonitorQueue(ctx, uint64(ctx.BlockHeight()), operation.Index) - if operation.OperationType != rarimotypes.OpType_TRANSFER || operation.OperationType != rarimotypes.OpType_IDENTITY_DEFAULT_TRANSFER { + + monitoringOperationTypes := map[rarimotypes.OpType]struct{}{ + rarimotypes.OpType_TRANSFER: {}, + rarimotypes.OpType_IDENTITY_GIST_TRANSFER: {}, + rarimotypes.OpType_IDENTITY_STATE_TRANSFER: {}, + rarimotypes.OpType_IDENTITY_DEFAULT_TRANSFER: {}, + rarimotypes.OpType_WORLDCOIN_IDENTITY_TRANSFER: {}, + } + + if _, ok := monitoringOperationTypes[operation.OperationType]; !ok { return false } @@ -120,7 +129,6 @@ func (k Keeper) NoteMissed(ctx sdk.Context, index *types.OracleIndex) { } } -// getSourceChain requires OpType: TRANSFER or IDENTITY_DEFAULT_TRANSFER func getSourceChain(op rarimotypes.Operation) (string, error) { switch op.OperationType { case rarimotypes.OpType_TRANSFER: @@ -138,6 +146,29 @@ func getSourceChain(op rarimotypes.Operation) (string, error) { } return transfer.Chain, nil + + case rarimotypes.OpType_IDENTITY_GIST_TRANSFER: + transfer, err := pkg.GetIdentityGISTTransfer(op) + if err != nil { + return "", err + } + + return transfer.Chain, nil + + case rarimotypes.OpType_IDENTITY_STATE_TRANSFER: + transfer, err := pkg.GetIdentityStateTransfer(op) + if err != nil { + return "", err + } + + return transfer.Chain, nil + + case rarimotypes.OpType_WORLDCOIN_IDENTITY_TRANSFER: + transfer, err := pkg.GetWorldCoinIdentityTransfer(op) + if err != nil { + return "", err + } + return transfer.Chain, nil } return "", nil diff --git a/x/oraclemanager/keeper/grpc_query_identity_gist_transfer.go b/x/oraclemanager/keeper/grpc_query_identity_gist_transfer.go new file mode 100644 index 00000000..be239ad6 --- /dev/null +++ b/x/oraclemanager/keeper/grpc_query_identity_gist_transfer.go @@ -0,0 +1,29 @@ +package keeper + +import ( + "context" + + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/rarimo/rarimo-core/x/oraclemanager/types" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" +) + +func (k Keeper) IdentityGISTTransfer(c context.Context, req *types.QueryGetIdentityGISTTransferRequest) (*types.QueryGetIdentityGISTTransferResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "invalid request") + } + + if err := req.Msg.ValidateBody(); err != nil { + return nil, err + } + + ctx := sdk.UnwrapSDKContext(c) + + transfer, err := k.rarimo.GetIdentityGISTTransfer(ctx, &req.Msg) + if err != nil { + return nil, err + } + + return &types.QueryGetIdentityGISTTransferResponse{Transfer: *transfer}, nil +} diff --git a/x/oraclemanager/keeper/grpc_query_identity_state_transfer.go b/x/oraclemanager/keeper/grpc_query_identity_state_transfer.go new file mode 100644 index 00000000..a631dc23 --- /dev/null +++ b/x/oraclemanager/keeper/grpc_query_identity_state_transfer.go @@ -0,0 +1,29 @@ +package keeper + +import ( + "context" + + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/rarimo/rarimo-core/x/oraclemanager/types" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" +) + +func (k Keeper) IdentityStateTransfer(c context.Context, req *types.QueryGetIdentityStateTransferRequest) (*types.QueryGetIdentityStateTransferResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "invalid request") + } + + if err := req.Msg.ValidateBody(); err != nil { + return nil, err + } + + ctx := sdk.UnwrapSDKContext(c) + + transfer, err := k.rarimo.GetIdentityStateTransfer(ctx, &req.Msg) + if err != nil { + return nil, err + } + + return &types.QueryGetIdentityStateTransferResponse{Transfer: *transfer}, nil +} diff --git a/x/oraclemanager/keeper/grpc_query_worldcoin_identity_transfer.go b/x/oraclemanager/keeper/grpc_query_worldcoin_identity_transfer.go new file mode 100644 index 00000000..9a24c3bf --- /dev/null +++ b/x/oraclemanager/keeper/grpc_query_worldcoin_identity_transfer.go @@ -0,0 +1,29 @@ +package keeper + +import ( + "context" + + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/rarimo/rarimo-core/x/oraclemanager/types" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" +) + +func (k Keeper) WorldCoinIdentityTransfer(c context.Context, req *types.QueryGetWorldCoinIdentityTransferRequest) (*types.QueryGetWorldCoinIdentityTransferResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "invalid request") + } + + if err := req.Msg.ValidateBody(); err != nil { + return nil, err + } + + ctx := sdk.UnwrapSDKContext(c) + + transfer, err := k.rarimo.GetWorldCoinIdentityTransfer(ctx, &req.Msg) + if err != nil { + return nil, err + } + + return &types.QueryGetWorldCoinIdentityTransferResponse{Transfer: *transfer}, nil +} diff --git a/x/oraclemanager/keeper/msg_server_identity_gist_transfer.go b/x/oraclemanager/keeper/msg_server_identity_gist_transfer.go new file mode 100644 index 00000000..a035c65c --- /dev/null +++ b/x/oraclemanager/keeper/msg_server_identity_gist_transfer.go @@ -0,0 +1,38 @@ +package keeper + +import ( + "context" + + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/rarimo/rarimo-core/x/oraclemanager/types" +) + +func (k msgServer) CreateIdentityGISTTransferOperation(c context.Context, msg *types.MsgCreateIdentityGISTTransferOp) (*types.MsgCreateIdentityGISTTransferOpResponse, error) { + ctx := sdk.UnwrapSDKContext(c) + defer k.disableFee(ctx.GasMeter().GasConsumed(), ctx.GasMeter()) + + transfer, err := k.rarimo.GetIdentityGISTTransfer(ctx, msg) + if err != nil { + return nil, err + } + + // Checking oracle exists and active. + oracle, ok := k.GetOracle(ctx, &types.OracleIndex{Chain: msg.Chain, Account: msg.Creator}) + if !ok { + return nil, types.ErrOracleNotFound + } + + if oracle.Status != types.OracleStatus_Active { + return nil, types.ErrInactiveOracle + } + + // Creating transfer operation + if err := k.rarimo.CreateIdentityGISTTransferOperation(ctx, msg.Creator, transfer); err != nil { + return nil, err + } + + oracle.CreateOperationsCount = oracle.CreateOperationsCount + 1 + k.SetOracle(ctx, oracle) + + return &types.MsgCreateIdentityGISTTransferOpResponse{}, nil +} diff --git a/x/oraclemanager/keeper/msg_server_identity_state_transfer.go b/x/oraclemanager/keeper/msg_server_identity_state_transfer.go new file mode 100644 index 00000000..baa9f0b7 --- /dev/null +++ b/x/oraclemanager/keeper/msg_server_identity_state_transfer.go @@ -0,0 +1,38 @@ +package keeper + +import ( + "context" + + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/rarimo/rarimo-core/x/oraclemanager/types" +) + +func (k msgServer) CreateIdentityStateTransferOperation(c context.Context, msg *types.MsgCreateIdentityStateTransferOp) (*types.MsgCreateIdentityStateTransferOpResponse, error) { + ctx := sdk.UnwrapSDKContext(c) + defer k.disableFee(ctx.GasMeter().GasConsumed(), ctx.GasMeter()) + + transfer, err := k.rarimo.GetIdentityStateTransfer(ctx, msg) + if err != nil { + return nil, err + } + + // Checking oracle exists and active. + oracle, ok := k.GetOracle(ctx, &types.OracleIndex{Chain: msg.Chain, Account: msg.Creator}) + if !ok { + return nil, types.ErrOracleNotFound + } + + if oracle.Status != types.OracleStatus_Active { + return nil, types.ErrInactiveOracle + } + + // Creating transfer operation + if err := k.rarimo.CreateIdentityStateTransferOperation(ctx, msg.Creator, transfer); err != nil { + return nil, err + } + + oracle.CreateOperationsCount = oracle.CreateOperationsCount + 1 + k.SetOracle(ctx, oracle) + + return &types.MsgCreateIdentityStateTransferOpResponse{}, nil +} diff --git a/x/oraclemanager/keeper/msg_server_vote.go b/x/oraclemanager/keeper/msg_server_vote.go index 75eb155f..ab715c7e 100644 --- a/x/oraclemanager/keeper/msg_server_vote.go +++ b/x/oraclemanager/keeper/msg_server_vote.go @@ -51,9 +51,14 @@ func (k msgServer) Vote(goCtx context.Context, msg *types.MsgVote) (*types.MsgVo func (k Keeper) collectVotes(ctx sdk.Context, index string) error { operation, _ := k.rarimo.GetOperation(ctx, index) - // Votes colelcting can be different for different types of operation. + // Votes collecting can be different for different types of operation. switch operation.OperationType { - case rarimotypes.OpType_TRANSFER, rarimotypes.OpType_IDENTITY_DEFAULT_TRANSFER: + case + rarimotypes.OpType_TRANSFER, + rarimotypes.OpType_IDENTITY_DEFAULT_TRANSFER, + rarimotypes.OpType_IDENTITY_GIST_TRANSFER, + rarimotypes.OpType_IDENTITY_STATE_TRANSFER, + rarimotypes.OpType_WORLDCOIN_IDENTITY_TRANSFER: return k.collectOperationVotes(ctx, operation) default: // Nothing to do diff --git a/x/oraclemanager/keeper/msg_server_worldcoin_identity_transfer.go b/x/oraclemanager/keeper/msg_server_worldcoin_identity_transfer.go new file mode 100644 index 00000000..382d00c5 --- /dev/null +++ b/x/oraclemanager/keeper/msg_server_worldcoin_identity_transfer.go @@ -0,0 +1,38 @@ +package keeper + +import ( + "context" + + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/rarimo/rarimo-core/x/oraclemanager/types" +) + +func (k msgServer) CreateWorldCoinIdentityTransferOperation( + c context.Context, + msg *types.MsgCreateWorldCoinIdentityTransferOp, +) (*types.MsgCreateWorldCoinIdentityTransferOpResponse, error) { + + ctx := sdk.UnwrapSDKContext(c) + defer k.disableFee(ctx.GasMeter().GasConsumed(), ctx.GasMeter()) + + transfer, err := k.rarimo.GetWorldCoinIdentityTransfer(ctx, msg) + if err != nil { + return nil, err + } + + oracle, ok := k.GetOracle(ctx, &types.OracleIndex{Chain: msg.Chain, Account: msg.Creator}) + if !ok { + return nil, types.ErrOracleNotFound + } + if oracle.Status != types.OracleStatus_Active { + return nil, types.ErrInactiveOracle + } + + if err = k.rarimo.CreateWorldCoinIdentityTransferOperation(ctx, msg.Creator, transfer); err != nil { + return nil, err + } + oracle.CreateOperationsCount++ + k.SetOracle(ctx, oracle) + + return &types.MsgCreateWorldCoinIdentityTransferOpResponse{}, nil +} diff --git a/x/oraclemanager/types/codec.go b/x/oraclemanager/types/codec.go index f5388211..ceaff51d 100644 --- a/x/oraclemanager/types/codec.go +++ b/x/oraclemanager/types/codec.go @@ -13,6 +13,9 @@ import ( func RegisterCodec(cdc *codec.LegacyAmino) { cdc.RegisterConcrete(&MsgCreateTransferOp{}, "oraclemanager/CreateTransferOp", nil) cdc.RegisterConcrete(&MsgCreateIdentityDefaultTransferOp{}, "oraclemanager/CreateIdentityDefaultTransferOp", nil) + cdc.RegisterConcrete(&MsgCreateIdentityGISTTransferOp{}, "oraclemanager/CreateIdentityGISTTransferOp", nil) + cdc.RegisterConcrete(&MsgCreateIdentityStateTransferOp{}, "oraclemanager/CreateIdentityStateTransferOp", nil) + cdc.RegisterConcrete(&MsgCreateWorldCoinIdentityTransferOp{}, "oraclemanager/CreateWorldCoinIdentityTransferOp", nil) cdc.RegisterConcrete(&MsgStake{}, "oraclemanager/Stake", nil) cdc.RegisterConcrete(&MsgUnstake{}, "oraclemanager/Unstake", nil) cdc.RegisterConcrete(&MsgUnjail{}, "oraclemanager/Unjail", nil) @@ -29,6 +32,15 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { registry.RegisterImplementations((*sdk.Msg)(nil), &MsgCreateIdentityDefaultTransferOp{}, ) + registry.RegisterImplementations((*sdk.Msg)(nil), + &MsgCreateIdentityGISTTransferOp{}, + ) + registry.RegisterImplementations((*sdk.Msg)(nil), + &MsgCreateIdentityStateTransferOp{}, + ) + registry.RegisterImplementations((*sdk.Msg)(nil), + &MsgCreateWorldCoinIdentityTransferOp{}, + ) registry.RegisterImplementations((*sdk.Msg)(nil), &MsgStake{}, ) diff --git a/x/oraclemanager/types/expected_keepers.go b/x/oraclemanager/types/expected_keepers.go index 9e6f9018..8ddea0c6 100644 --- a/x/oraclemanager/types/expected_keepers.go +++ b/x/oraclemanager/types/expected_keepers.go @@ -29,9 +29,18 @@ type RarimoKeeper interface { GetIdentityDefaultTransfer(_ sdk.Context, msg *MsgCreateIdentityDefaultTransferOp) (*rarimotypes.IdentityDefaultTransfer, error) CreateIdentityDefaultTransferOperation(ctx sdk.Context, creator string, transfer *rarimotypes.IdentityDefaultTransfer) error + GetIdentityGISTTransfer(_ sdk.Context, msg *MsgCreateIdentityGISTTransferOp) (*rarimotypes.IdentityGISTTransfer, error) + CreateIdentityGISTTransferOperation(ctx sdk.Context, creator string, transfer *rarimotypes.IdentityGISTTransfer) error + + GetIdentityStateTransfer(_ sdk.Context, msg *MsgCreateIdentityStateTransferOp) (*rarimotypes.IdentityStateTransfer, error) + CreateIdentityStateTransferOperation(ctx sdk.Context, creator string, transfer *rarimotypes.IdentityStateTransfer) error + GetTransfer(ctx sdk.Context, msg *MsgCreateTransferOp) (*rarimotypes.Transfer, error) CreateTransferOperation(ctx sdk.Context, creator string, transfer *rarimotypes.Transfer, approved bool) error + GetWorldCoinIdentityTransfer(_ sdk.Context, msg *MsgCreateWorldCoinIdentityTransferOp) (*rarimotypes.WorldCoinIdentityTransfer, error) + CreateWorldCoinIdentityTransferOperation(ctx sdk.Context, creator string, transfer *rarimotypes.WorldCoinIdentityTransfer) error + GetVote(ctx sdk.Context, index *rarimotypes.VoteIndex) (val rarimotypes.Vote, found bool) CreateVote(ctx sdk.Context, vote rarimotypes.Vote) (bool, error) diff --git a/x/oraclemanager/types/genesis.pb.go b/x/oraclemanager/types/genesis.pb.go index 777b10ce..84e1a141 100644 --- a/x/oraclemanager/types/genesis.pb.go +++ b/x/oraclemanager/types/genesis.pb.go @@ -95,9 +95,9 @@ var fileDescriptor_0cab2a3f531f9edf = []byte{ 0x50, 0xcd, 0x42, 0xee, 0x5c, 0xec, 0x10, 0x55, 0xc5, 0x12, 0x4c, 0x0a, 0xcc, 0x44, 0x99, 0xe3, 0x0f, 0xe6, 0x41, 0xcd, 0x81, 0xe9, 0x76, 0xf2, 0x3d, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, - 0x39, 0x86, 0x28, 0xe3, 0xf4, 0xcc, 0x92, 0x9c, 0xc4, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x88, + 0x39, 0x86, 0x28, 0xe3, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x88, 0xa1, 0x50, 0x4a, 0x17, 0x64, 0xb8, 0x7e, 0x85, 0x3e, 0xaa, 0xb7, 0x4b, 0x2a, 0x0b, 0x52, 0x8b, - 0x93, 0xd8, 0xc0, 0xde, 0x36, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x3a, 0xe0, 0x53, 0x99, 0x84, + 0x93, 0xd8, 0xc0, 0xde, 0x36, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xe5, 0x58, 0xa1, 0x2a, 0x84, 0x01, 0x00, 0x00, } diff --git a/x/oraclemanager/types/message_worldcoin_identity_transfer.go b/x/oraclemanager/types/message_worldcoin_identity_transfer.go new file mode 100644 index 00000000..41c7f887 --- /dev/null +++ b/x/oraclemanager/types/message_worldcoin_identity_transfer.go @@ -0,0 +1,66 @@ +package types + +import ( + "math/big" + + "cosmossdk.io/errors" + "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/ethereum/go-ethereum/common/hexutil" +) + +const TypeMsgCreateWorldCoinIdentityTransferOp = "create_worldcoin_identity_transfer_operation" + +var _ types.Msg = &MsgCreateWorldCoinIdentityTransferOp{} + +func (m *MsgCreateWorldCoinIdentityTransferOp) Route() string { + return RouterKey +} + +func (m *MsgCreateWorldCoinIdentityTransferOp) Type() string { + return TypeMsgCreateWorldCoinIdentityTransferOp +} + +func (m *MsgCreateWorldCoinIdentityTransferOp) GetSigners() []types.AccAddress { + creator, err := types.AccAddressFromBech32(m.Creator) + if err != nil { + panic(err) + } + return []types.AccAddress{creator} +} + +func (m *MsgCreateWorldCoinIdentityTransferOp) GetSignBytes() []byte { + bz := ModuleCdc.MustMarshalJSON(m) + return types.MustSortJSON(bz) +} + +func (m *MsgCreateWorldCoinIdentityTransferOp) ValidateBasic() error { + if _, err := types.AccAddressFromBech32(m.Creator); err != nil { + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + } + + return m.ValidateBody() +} + +func (m *MsgCreateWorldCoinIdentityTransferOp) ValidateBody() error { + if _, err := hexutil.Decode(m.Contract); err != nil { + return errors.Wrapf(sdkerrors.ErrInvalidRequest, "invalid contract address (%s)", err) + } + if m.Chain == "" { + return errors.Wrap(sdkerrors.ErrInvalidRequest, "chain required") + } + if _, err := hexutil.Decode(m.PrevState); err != nil { + return errors.Wrapf(sdkerrors.ErrInvalidRequest, "invalid previous state (%s)", err) + } + if _, err := hexutil.Decode(m.State); err != nil { + return errors.Wrapf(sdkerrors.ErrInvalidRequest, "invalid state (%s)", err) + } + if _, ok := new(big.Int).SetString(m.Timestamp, 10); !ok { + return errors.Wrapf(sdkerrors.ErrInvalidRequest, "invalid timestamp %s", m.Timestamp) + } + if m.BlockNumber == 0 { + return errors.Wrap(sdkerrors.ErrInvalidRequest, "block number required") + } + + return nil +} diff --git a/x/oraclemanager/types/messages_identity_gist_transfer_op.go b/x/oraclemanager/types/messages_identity_gist_transfer_op.go new file mode 100644 index 00000000..fc8310ab --- /dev/null +++ b/x/oraclemanager/types/messages_identity_gist_transfer_op.go @@ -0,0 +1,68 @@ +package types + +import ( + "math/big" + + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/ethereum/go-ethereum/common/hexutil" +) + +const ( + TypeMsgCreateIdentityGISTTransfer = "create_identity_gist_transfer_operation" +) + +var _ sdk.Msg = &MsgCreateIdentityGISTTransferOp{} + +func (msg *MsgCreateIdentityGISTTransferOp) Route() string { + return RouterKey +} + +func (msg *MsgCreateIdentityGISTTransferOp) Type() string { + return TypeMsgCreateIdentityGISTTransfer +} + +func (msg *MsgCreateIdentityGISTTransferOp) GetSigners() []sdk.AccAddress { + creator, err := sdk.AccAddressFromBech32(msg.Creator) + if err != nil { + panic(err) + } + return []sdk.AccAddress{creator} +} + +func (msg *MsgCreateIdentityGISTTransferOp) GetSignBytes() []byte { + bz := ModuleCdc.MustMarshalJSON(msg) + return sdk.MustSortJSON(bz) +} + +func (msg *MsgCreateIdentityGISTTransferOp) ValidateBasic() error { + if _, err := sdk.AccAddressFromBech32(msg.Creator); err != nil { + return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + } + + return msg.ValidateBody() +} + +func (msg *MsgCreateIdentityGISTTransferOp) ValidateBody() error { + if _, err := hexutil.Decode(msg.Contract); err != nil { + return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "invalid contract address (%s)", err) + } + + if _, err := hexutil.Decode(msg.GISTHash); err != nil { + return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "invalid gist hash (%s)", err) + } + + if _, ok := new(big.Int).SetString(msg.GISTCreatedAtTimestamp, 10); !ok { + return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "invalid timestamp") + } + + if _, ok := new(big.Int).SetString(msg.GISTCreatedAtBlock, 10); !ok { + return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "invalid timestamp") + } + + if _, err := hexutil.Decode(msg.ReplacedGISTtHash); err != nil { + return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "invalid replaced gist hash (%s)", err) + } + + return nil +} diff --git a/x/oraclemanager/types/messages_identity_state_transfer_op.go b/x/oraclemanager/types/messages_identity_state_transfer_op.go new file mode 100644 index 00000000..375f8cf5 --- /dev/null +++ b/x/oraclemanager/types/messages_identity_state_transfer_op.go @@ -0,0 +1,72 @@ +package types + +import ( + "math/big" + + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/ethereum/go-ethereum/common/hexutil" +) + +const ( + TypeMsgCreateIdentityStateTransfer = "create_identity_state_transfer_operation" +) + +var _ sdk.Msg = &MsgCreateIdentityStateTransferOp{} + +func (msg *MsgCreateIdentityStateTransferOp) Route() string { + return RouterKey +} + +func (msg *MsgCreateIdentityStateTransferOp) Type() string { + return TypeMsgCreateIdentityStateTransfer +} + +func (msg *MsgCreateIdentityStateTransferOp) GetSigners() []sdk.AccAddress { + creator, err := sdk.AccAddressFromBech32(msg.Creator) + if err != nil { + panic(err) + } + return []sdk.AccAddress{creator} +} + +func (msg *MsgCreateIdentityStateTransferOp) GetSignBytes() []byte { + bz := ModuleCdc.MustMarshalJSON(msg) + return sdk.MustSortJSON(bz) +} + +func (msg *MsgCreateIdentityStateTransferOp) ValidateBasic() error { + if _, err := sdk.AccAddressFromBech32(msg.Creator); err != nil { + return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + } + + return msg.ValidateBody() +} + +func (msg *MsgCreateIdentityStateTransferOp) ValidateBody() error { + if _, err := hexutil.Decode(msg.Contract); err != nil { + return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "invalid contract address (%s)", err) + } + + if _, err := hexutil.Decode(msg.Id); err != nil { + return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "invalid id (%s)", err) + } + + if _, err := hexutil.Decode(msg.StateHash); err != nil { + return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "invalid state hash (%s)", err) + } + + if _, ok := new(big.Int).SetString(msg.StateCreatedAtTimestamp, 10); !ok { + return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "invalid timestamp") + } + + if _, ok := new(big.Int).SetString(msg.StateCreatedAtBlock, 10); !ok { + return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "invalid timestamp") + } + + if _, err := hexutil.Decode(msg.ReplacedStateHash); err != nil { + return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "invalid replaced state hash (%s)", err) + } + + return nil +} diff --git a/x/oraclemanager/types/oracle.pb.go b/x/oraclemanager/types/oracle.pb.go index da91fc1b..547de9fa 100644 --- a/x/oraclemanager/types/oracle.pb.go +++ b/x/oraclemanager/types/oracle.pb.go @@ -279,36 +279,36 @@ func init() { func init() { proto.RegisterFile("oraclemanager/oracle.proto", fileDescriptor_6c1a9fae0dab29d9) } var fileDescriptor_6c1a9fae0dab29d9 = []byte{ - // 453 bytes of a gzipped FileDescriptorProto + // 454 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xc1, 0x6e, 0xd3, 0x40, - 0x10, 0xb5, 0x9b, 0xc4, 0x69, 0xc6, 0x55, 0x89, 0x56, 0x05, 0x59, 0x15, 0x72, 0xa3, 0x1c, 0x90, - 0x05, 0xd4, 0x96, 0x52, 0xae, 0x1c, 0x30, 0x14, 0xa9, 0x48, 0x50, 0xc9, 0xb9, 0x71, 0xdb, 0xae, - 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bd, 0xb1, 0xb5, 0x5b, 0xd7, 0x1f, 0x28, 0x2f, 0x30, + 0x1b, 0xee, 0x11, 0x1f, 0xfa, 0xef, 0xcd, 0xca, 0xd9, 0xb0, 0x53, 0x83, 0x59, 0x41, 0xd5, 0x1c, + 0xb3, 0x61, 0x37, 0xf9, 0xb8, 0xde, 0x84, 0xee, 0xed, 0x26, 0x74, 0x7f, 0x6d, 0x42, 0xf7, 0xfb, + 0x36, 0x74, 0x6e, 0xb7, 0xa1, 0xf3, 0x63, 0x1b, 0x3a, 0x9f, 0xcf, 0x72, 0xae, 0xe7, 0xcb, 0xab, + 0x88, 0x89, 0x32, 0xb6, 0x66, 0x9b, 0xe3, 0xb4, 0x36, 0x1d, 0xdf, 0xc4, 0xf7, 0x3f, 0x15, 0xfd, + 0x75, 0x81, 0xea, 0xca, 0x33, 0xff, 0xf9, 0xb3, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x4a, 0x1d, + 0x43, 0x0f, 0x48, 0x03, 0x00, 0x00, } func (m *OracleIndex) Marshal() (dAtA []byte, err error) { diff --git a/x/oraclemanager/types/params.pb.go b/x/oraclemanager/types/params.pb.go index 2ccedcd9..1cf3ffd4 100644 --- a/x/oraclemanager/types/params.pb.go +++ b/x/oraclemanager/types/params.pb.go @@ -139,29 +139,29 @@ func init() { func init() { proto.RegisterFile("oraclemanager/params.proto", fileDescriptor_964ccf5b4968d551) } var fileDescriptor_964ccf5b4968d551 = []byte{ - // 339 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0xc1, 0x4e, 0xea, 0x40, - 0x14, 0x86, 0x29, 0x97, 0xcb, 0xbd, 0x4c, 0x72, 0xaf, 0xc9, 0xe8, 0x62, 0xc2, 0x62, 0x24, 0xc6, - 0x18, 0x36, 0xb6, 0x26, 0xbc, 0x01, 0x12, 0x77, 0x04, 0x45, 0xe3, 0xc2, 0xdd,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, 0xef, 0xde, 0xc5, 0x5c, 0x32, 0x66, 0xcb, 0x71, 0x07, 0x98, 0x93, 0x16, - 0x7f, 0xfc, 0x4d, 0xfc, 0x20, 0xa5, 0xfe, 0x48, 0x0e, 0x6f, 0xe6, 0x64, 0xe6, 0x5a, 0xfc, 0xad, - 0xf4, 0x6f, 0xc2, 0x4f, 0xd9, 0xbf, 0xf2, 0xef, 0x2e, 0x35, 0x68, 0x53, 0x52, 0x53, 0xd1, 0xf2, - 0x96, 0x6d, 0xd8, 0x1f, 0xbe, 0xae, 0x64, 0xb0, 0x5c, 0xc9, 0xe0, 0x7d, 0x25, 0x83, 0x97, 0xb5, - 0xac, 0x2d, 0xd7, 0xb2, 0xf6, 0xb6, 0x96, 0xb5, 0x87, 0x5e, 0x92, 0x39, 0x05, 0x93, 0x30, 0x26, - 0x1d, 0x55, 0x3b, 0xdd, 0x94, 0xf3, 0x72, 0xb7, 0xd1, 0x22, 0xda, 0x7e, 0x0b, 0xee, 0xa9, 0x40, - 0x3b, 0x69, 0xfa, 0xa5, 0xf6, 0x3e, 0x03, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xc3, 0x84, 0x43, 0x29, - 0x02, 0x00, 0x00, + // 337 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0xc1, 0x4e, 0xfa, 0x40, + 0x10, 0xc6, 0x29, 0x7f, 0xfe, 0x28, 0x9b, 0xa8, 0xc9, 0xea, 0x61, 0xc3, 0x61, 0x25, 0xc6, 0x18, + 0x2e, 0xb6, 0x26, 0xbc, 0x01, 0x12, 0x6f, 0x04, 0x45, 0xe3, 0xc1, 0xdb, 0x50, 0x26, 0x6d, 0x43, + 0xb7, 0xd3, 0xec, 0x6e, 0x0d, 0xfa, 0x14, 0x3e, 0x96, 0x47, 0x8e, 0x1e, 0x0d, 0xbc, 0x86, 0x07, + 0xd3, 0x2d, 0x51, 0x21, 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 0x20, 0x5d, 0x28, 0xb1, 0x5f, 0xe9, 0xbf, + 0x84, 0x9f, 0xb3, 0x83, 0xf2, 0xef, 0x21, 0xd6, 0x68, 0x62, 0x4a, 0xa7, 0xa2, 0xe5, 0x2c, 0x9b, + 0xb0, 0x3f, 0x7c, 0x5f, 0x4a, 0x6f, 0xb1, 0x94, 0xde, 0xe7, 0x52, 0x7a, 0x6f, 0x2b, 0x59, 0x5b, + 0xac, 0x64, 0xed, 0x63, 0x25, 0x6b, 0x4f, 0xbd, 0x28, 0xb1, 0x71, 0x31, 0xf1, 0x43, 0x52, 0x41, + 0xb5, 0xd3, 0x75, 0xb9, 0x2c, 0x77, 0x1b, 0xcc, 0x83, 0xcd, 0xb7, 0x60, 0x5f, 0x72, 0x34, 0x93, + 0xa6, 0x5b, 0x6a, 0xef, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x64, 0x7b, 0x76, 0xf0, 0x29, 0x02, 0x00, + 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/oraclemanager/types/proposal.pb.go b/x/oraclemanager/types/proposal.pb.go index af57c64c..55ad1f4c 100644 --- a/x/oraclemanager/types/proposal.pb.go +++ b/x/oraclemanager/types/proposal.pb.go @@ -167,10 +167,10 @@ var fileDescriptor_a1c853a22a5364e0 = []byte{ 0x4f, 0x0d, 0x00, 0xbb, 0x99, 0x62, 0xa7, 0xb9, 0x72, 0xb1, 0x41, 0x7c, 0x0f, 0x75, 0x9b, 0x3a, 0x41, 0xb7, 0x41, 0x2c, 0x86, 0x3a, 0x0b, 0xaa, 0xd9, 0xc9, 0xf7, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, - 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0x8c, 0xd3, 0x33, 0x4b, 0x72, 0x12, 0x93, 0xf4, 0x92, 0xf3, 0x73, + 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0x8c, 0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x21, 0x66, 0x42, 0x29, 0x5d, 0x90, 0xd9, 0xfa, 0x15, 0xfa, 0xa8, 0x51, 0x51, 0x52, 0x59, - 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0x8e, 0x0a, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x12, 0x69, - 0xbd, 0x67, 0x19, 0x02, 0x00, 0x00, + 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0x8e, 0x0a, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xcd, 0xd1, + 0x4f, 0xd4, 0x19, 0x02, 0x00, 0x00, } func (m *OracleUnfreezeProposal) Marshal() (dAtA []byte, err error) { diff --git a/x/oraclemanager/types/query.pb.go b/x/oraclemanager/types/query.pb.go index 6973d269..98b796fb 100644 --- a/x/oraclemanager/types/query.pb.go +++ b/x/oraclemanager/types/query.pb.go @@ -294,6 +294,276 @@ func (m *QueryGetIdentityDefaultTransferResponse) GetTransfer() types.IdentityDe return types.IdentityDefaultTransfer{} } +type QueryGetIdentityGISTTransferRequest struct { + Msg MsgCreateIdentityGISTTransferOp `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg"` +} + +func (m *QueryGetIdentityGISTTransferRequest) Reset() { *m = QueryGetIdentityGISTTransferRequest{} } +func (m *QueryGetIdentityGISTTransferRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGetIdentityGISTTransferRequest) ProtoMessage() {} +func (*QueryGetIdentityGISTTransferRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_2117d55003291e95, []int{6} +} +func (m *QueryGetIdentityGISTTransferRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGetIdentityGISTTransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGetIdentityGISTTransferRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGetIdentityGISTTransferRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetIdentityGISTTransferRequest.Merge(m, src) +} +func (m *QueryGetIdentityGISTTransferRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryGetIdentityGISTTransferRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetIdentityGISTTransferRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGetIdentityGISTTransferRequest proto.InternalMessageInfo + +func (m *QueryGetIdentityGISTTransferRequest) GetMsg() MsgCreateIdentityGISTTransferOp { + if m != nil { + return m.Msg + } + return MsgCreateIdentityGISTTransferOp{} +} + +type QueryGetIdentityGISTTransferResponse struct { + Transfer types.IdentityGISTTransfer `protobuf:"bytes,1,opt,name=transfer,proto3" json:"transfer"` +} + +func (m *QueryGetIdentityGISTTransferResponse) Reset() { *m = QueryGetIdentityGISTTransferResponse{} } +func (m *QueryGetIdentityGISTTransferResponse) String() string { return proto.CompactTextString(m) } +func (*QueryGetIdentityGISTTransferResponse) ProtoMessage() {} +func (*QueryGetIdentityGISTTransferResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_2117d55003291e95, []int{7} +} +func (m *QueryGetIdentityGISTTransferResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGetIdentityGISTTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGetIdentityGISTTransferResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGetIdentityGISTTransferResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetIdentityGISTTransferResponse.Merge(m, src) +} +func (m *QueryGetIdentityGISTTransferResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryGetIdentityGISTTransferResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetIdentityGISTTransferResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGetIdentityGISTTransferResponse proto.InternalMessageInfo + +func (m *QueryGetIdentityGISTTransferResponse) GetTransfer() types.IdentityGISTTransfer { + if m != nil { + return m.Transfer + } + return types.IdentityGISTTransfer{} +} + +type QueryGetIdentityStateTransferRequest struct { + Msg MsgCreateIdentityStateTransferOp `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg"` +} + +func (m *QueryGetIdentityStateTransferRequest) Reset() { *m = QueryGetIdentityStateTransferRequest{} } +func (m *QueryGetIdentityStateTransferRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGetIdentityStateTransferRequest) ProtoMessage() {} +func (*QueryGetIdentityStateTransferRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_2117d55003291e95, []int{8} +} +func (m *QueryGetIdentityStateTransferRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGetIdentityStateTransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGetIdentityStateTransferRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGetIdentityStateTransferRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetIdentityStateTransferRequest.Merge(m, src) +} +func (m *QueryGetIdentityStateTransferRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryGetIdentityStateTransferRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetIdentityStateTransferRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGetIdentityStateTransferRequest proto.InternalMessageInfo + +func (m *QueryGetIdentityStateTransferRequest) GetMsg() MsgCreateIdentityStateTransferOp { + if m != nil { + return m.Msg + } + return MsgCreateIdentityStateTransferOp{} +} + +type QueryGetIdentityStateTransferResponse struct { + Transfer types.IdentityStateTransfer `protobuf:"bytes,1,opt,name=transfer,proto3" json:"transfer"` +} + +func (m *QueryGetIdentityStateTransferResponse) Reset() { *m = QueryGetIdentityStateTransferResponse{} } +func (m *QueryGetIdentityStateTransferResponse) String() string { return proto.CompactTextString(m) } +func (*QueryGetIdentityStateTransferResponse) ProtoMessage() {} +func (*QueryGetIdentityStateTransferResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_2117d55003291e95, []int{9} +} +func (m *QueryGetIdentityStateTransferResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGetIdentityStateTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGetIdentityStateTransferResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGetIdentityStateTransferResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetIdentityStateTransferResponse.Merge(m, src) +} +func (m *QueryGetIdentityStateTransferResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryGetIdentityStateTransferResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetIdentityStateTransferResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGetIdentityStateTransferResponse proto.InternalMessageInfo + +func (m *QueryGetIdentityStateTransferResponse) GetTransfer() types.IdentityStateTransfer { + if m != nil { + return m.Transfer + } + return types.IdentityStateTransfer{} +} + +type QueryGetWorldCoinIdentityTransferRequest struct { + Msg MsgCreateWorldCoinIdentityTransferOp `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg"` +} + +func (m *QueryGetWorldCoinIdentityTransferRequest) Reset() { + *m = QueryGetWorldCoinIdentityTransferRequest{} +} +func (m *QueryGetWorldCoinIdentityTransferRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGetWorldCoinIdentityTransferRequest) ProtoMessage() {} +func (*QueryGetWorldCoinIdentityTransferRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_2117d55003291e95, []int{10} +} +func (m *QueryGetWorldCoinIdentityTransferRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGetWorldCoinIdentityTransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGetWorldCoinIdentityTransferRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGetWorldCoinIdentityTransferRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetWorldCoinIdentityTransferRequest.Merge(m, src) +} +func (m *QueryGetWorldCoinIdentityTransferRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryGetWorldCoinIdentityTransferRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetWorldCoinIdentityTransferRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGetWorldCoinIdentityTransferRequest proto.InternalMessageInfo + +func (m *QueryGetWorldCoinIdentityTransferRequest) GetMsg() MsgCreateWorldCoinIdentityTransferOp { + if m != nil { + return m.Msg + } + return MsgCreateWorldCoinIdentityTransferOp{} +} + +type QueryGetWorldCoinIdentityTransferResponse struct { + Transfer types.WorldCoinIdentityTransfer `protobuf:"bytes,1,opt,name=transfer,proto3" json:"transfer"` +} + +func (m *QueryGetWorldCoinIdentityTransferResponse) Reset() { + *m = QueryGetWorldCoinIdentityTransferResponse{} +} +func (m *QueryGetWorldCoinIdentityTransferResponse) String() string { + return proto.CompactTextString(m) +} +func (*QueryGetWorldCoinIdentityTransferResponse) ProtoMessage() {} +func (*QueryGetWorldCoinIdentityTransferResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_2117d55003291e95, []int{11} +} +func (m *QueryGetWorldCoinIdentityTransferResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGetWorldCoinIdentityTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGetWorldCoinIdentityTransferResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGetWorldCoinIdentityTransferResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetWorldCoinIdentityTransferResponse.Merge(m, src) +} +func (m *QueryGetWorldCoinIdentityTransferResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryGetWorldCoinIdentityTransferResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetWorldCoinIdentityTransferResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGetWorldCoinIdentityTransferResponse proto.InternalMessageInfo + +func (m *QueryGetWorldCoinIdentityTransferResponse) GetTransfer() types.WorldCoinIdentityTransfer { + if m != nil { + return m.Transfer + } + return types.WorldCoinIdentityTransfer{} +} + type QueryGetAllOracleRequest struct { Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` } @@ -302,7 +572,7 @@ func (m *QueryGetAllOracleRequest) Reset() { *m = QueryGetAllOracleReque func (m *QueryGetAllOracleRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetAllOracleRequest) ProtoMessage() {} func (*QueryGetAllOracleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2117d55003291e95, []int{6} + return fileDescriptor_2117d55003291e95, []int{12} } func (m *QueryGetAllOracleRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -347,7 +617,7 @@ func (m *QueryGetAllOracleResponse) Reset() { *m = QueryGetAllOracleResp func (m *QueryGetAllOracleResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetAllOracleResponse) ProtoMessage() {} func (*QueryGetAllOracleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2117d55003291e95, []int{7} + return fileDescriptor_2117d55003291e95, []int{13} } func (m *QueryGetAllOracleResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -399,7 +669,7 @@ func (m *QueryGetOracleRequest) Reset() { *m = QueryGetOracleRequest{} } func (m *QueryGetOracleRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetOracleRequest) ProtoMessage() {} func (*QueryGetOracleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2117d55003291e95, []int{8} + return fileDescriptor_2117d55003291e95, []int{14} } func (m *QueryGetOracleRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -450,7 +720,7 @@ func (m *QueryGetOracleResponse) Reset() { *m = QueryGetOracleResponse{} func (m *QueryGetOracleResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetOracleResponse) ProtoMessage() {} func (*QueryGetOracleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2117d55003291e95, []int{9} + return fileDescriptor_2117d55003291e95, []int{15} } func (m *QueryGetOracleResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -494,7 +764,7 @@ func (m *QueryGetOracleForChainRequest) Reset() { *m = QueryGetOracleFor func (m *QueryGetOracleForChainRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetOracleForChainRequest) ProtoMessage() {} func (*QueryGetOracleForChainRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2117d55003291e95, []int{10} + return fileDescriptor_2117d55003291e95, []int{16} } func (m *QueryGetOracleForChainRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -538,7 +808,7 @@ func (m *QueryGetOracleForChainResponse) Reset() { *m = QueryGetOracleFo func (m *QueryGetOracleForChainResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetOracleForChainResponse) ProtoMessage() {} func (*QueryGetOracleForChainResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2117d55003291e95, []int{11} + return fileDescriptor_2117d55003291e95, []int{17} } func (m *QueryGetOracleForChainResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -581,6 +851,12 @@ func init() { proto.RegisterType((*QueryGetTransferResponse)(nil), "rarimo.rarimocore.oraclemanager.QueryGetTransferResponse") proto.RegisterType((*QueryGetIdentityDefaultTransferRequest)(nil), "rarimo.rarimocore.oraclemanager.QueryGetIdentityDefaultTransferRequest") proto.RegisterType((*QueryGetIdentityDefaultTransferResponse)(nil), "rarimo.rarimocore.oraclemanager.QueryGetIdentityDefaultTransferResponse") + proto.RegisterType((*QueryGetIdentityGISTTransferRequest)(nil), "rarimo.rarimocore.oraclemanager.QueryGetIdentityGISTTransferRequest") + proto.RegisterType((*QueryGetIdentityGISTTransferResponse)(nil), "rarimo.rarimocore.oraclemanager.QueryGetIdentityGISTTransferResponse") + proto.RegisterType((*QueryGetIdentityStateTransferRequest)(nil), "rarimo.rarimocore.oraclemanager.QueryGetIdentityStateTransferRequest") + proto.RegisterType((*QueryGetIdentityStateTransferResponse)(nil), "rarimo.rarimocore.oraclemanager.QueryGetIdentityStateTransferResponse") + proto.RegisterType((*QueryGetWorldCoinIdentityTransferRequest)(nil), "rarimo.rarimocore.oraclemanager.QueryGetWorldCoinIdentityTransferRequest") + proto.RegisterType((*QueryGetWorldCoinIdentityTransferResponse)(nil), "rarimo.rarimocore.oraclemanager.QueryGetWorldCoinIdentityTransferResponse") proto.RegisterType((*QueryGetAllOracleRequest)(nil), "rarimo.rarimocore.oraclemanager.QueryGetAllOracleRequest") proto.RegisterType((*QueryGetAllOracleResponse)(nil), "rarimo.rarimocore.oraclemanager.QueryGetAllOracleResponse") proto.RegisterType((*QueryGetOracleRequest)(nil), "rarimo.rarimocore.oraclemanager.QueryGetOracleRequest") @@ -592,56 +868,72 @@ func init() { func init() { proto.RegisterFile("oraclemanager/query.proto", fileDescriptor_2117d55003291e95) } var fileDescriptor_2117d55003291e95 = []byte{ - // 769 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcd, 0x4f, 0x13, 0x4d, - 0x18, 0xef, 0xc0, 0x4b, 0x5f, 0xfa, 0xbc, 0xc9, 0x7b, 0x18, 0x11, 0xca, 0x46, 0x17, 0xb2, 0x07, - 0x20, 0x44, 0x76, 0xa1, 0x80, 0x22, 0x7e, 0x05, 0xaa, 0x14, 0x13, 0x09, 0xd8, 0x98, 0x98, 0xa8, - 0x09, 0x99, 0xb6, 0xc3, 0xba, 0xc9, 0x76, 0x67, 0xd9, 0x5d, 0x0c, 0x84, 0x70, 0x21, 0xf1, 0x6e, - 0xe2, 0xdd, 0x9b, 0x27, 0x8f, 0x7a, 0xf5, 0x4e, 0xe2, 0x85, 0xc4, 0x8b, 0x27, 0x63, 0xc0, 0x7f, - 0xc0, 0xff, 0xc0, 0x74, 0x67, 0x86, 0xb2, 0xfd, 0x60, 0xb7, 0xd5, 0xd3, 0xee, 0x74, 0xe6, 0xf7, - 0xf5, 0x74, 0x9e, 0xa7, 0x85, 0x61, 0xe6, 0x91, 0xb2, 0x4d, 0xab, 0xc4, 0x21, 0x26, 0xf5, 0x8c, - 0xed, 0x1d, 0xea, 0xed, 0xe9, 0xae, 0xc7, 0x02, 0x86, 0x47, 0x3c, 0xe2, 0x59, 0x55, 0xa6, 0xf3, - 0x47, 0x99, 0x79, 0x54, 0x8f, 0x1c, 0x56, 0x06, 0x4c, 0x66, 0xb2, 0xf0, 0xac, 0x51, 0x7b, 0xe3, - 0x30, 0xe5, 0x8a, 0xc9, 0x98, 0x69, 0x53, 0x83, 0xb8, 0x96, 0x41, 0x1c, 0x87, 0x05, 0x24, 0xb0, - 0x98, 0xe3, 0x8b, 0xdd, 0xc9, 0x32, 0xf3, 0xab, 0xcc, 0x37, 0x4a, 0xc4, 0xa7, 0x5c, 0xcd, 0x78, - 0x35, 0x53, 0xa2, 0x01, 0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3e, 0x55, 0x53, 0xdf, 0x4e, 0xd5, 0xd4, 0xb3, 0x59, 0xd3, 0x0a, 0x6c, - 0x52, 0xd2, 0xcb, 0xac, 0xda, 0x8a, 0x75, 0xb7, 0xb1, 0x15, 0xf7, 0x5c, 0xea, 0x97, 0xd2, 0xe1, - 0x5f, 0xb4, 0xd9, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x05, 0xbe, 0x79, 0xec, 0xdd, 0x0a, 0x00, - 0x00, + // 1034 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x4d, 0x6f, 0xdc, 0x54, + 0x14, 0xcd, 0x6b, 0x69, 0x68, 0x2e, 0x52, 0x17, 0x8f, 0xb4, 0x4d, 0x2c, 0x98, 0x56, 0x06, 0xda, + 0x10, 0xa8, 0xdd, 0x4e, 0x5a, 0x9a, 0xa6, 0x50, 0x92, 0x4c, 0x93, 0x69, 0x10, 0x55, 0xcb, 0x34, + 0xa8, 0x94, 0x0f, 0x45, 0x6f, 0x66, 0x5e, 0x5d, 0x4b, 0x33, 0x7e, 0x53, 0xdb, 0x81, 0x46, 0xa5, + 0x20, 0x2a, 0x81, 0xc4, 0x0e, 0x89, 0xdf, 0xc0, 0x8a, 0x25, 0x6c, 0xd9, 0x57, 0x62, 0x53, 0x89, + 0x0d, 0x2b, 0x84, 0x12, 0x58, 0xb0, 0x42, 0x6c, 0x59, 0x55, 0xf3, 0x3e, 0x3a, 0x7e, 0xfe, 0x18, + 0xdb, 0x93, 0xac, 0x66, 0x1c, 0xdf, 0x7b, 0xee, 0x39, 0xc7, 0x99, 0x7b, 0x9e, 0x61, 0x9a, 0xf9, + 0xa4, 0xd5, 0xa1, 0x5d, 0xe2, 0x11, 0x87, 0xfa, 0xf6, 0xdd, 0x4d, 0xea, 0x6f, 0x59, 0x3d, 0x9f, + 0x85, 0x0c, 0x1f, 0xf3, 0x89, 0xef, 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x44, 0xf3, + 0xc2, 0xdd, 0x78, 0x67, 0x2f, 0xa0, 0xa4, 0xee, 0x55, 0xae, 0x7b, 0x11, 0x5f, 0xca, 0xd7, 0xcd, + 0xdf, 0x7a, 0x36, 0xd2, 0x5f, 0x7b, 0xf0, 0xcf, 0x08, 0x26, 0xc4, 0x16, 0x5d, 0xea, 0x74, 0x70, + 0xf1, 0x0d, 0x12, 0x4f, 0x6d, 0x63, 0x61, 0x94, 0xd6, 0xf2, 0x1b, 0x53, 0xc6, 0xee, 0x2f, 0x08, + 0xc6, 0x05, 0x08, 0x7e, 0xa3, 0xf0, 0x60, 0x9d, 0xf0, 0xf9, 0xd2, 0x7d, 0x92, 0xed, 0x32, 0x67, + 0xfb, 0x26, 0x5e, 0x28, 0xca, 0xd6, 0xbe, 0xcf, 0x13, 0xf0, 0x81, 0x7d, 0x5f, 0x66, 0xf4, 0x03, + 0xfc, 0x2b, 0x82, 0x43, 0x7a, 0x0a, 0xe2, 0x4b, 0x25, 0xf9, 0xc4, 0x52, 0xd7, 0x78, 0x7b, 0xe4, + 0x7e, 0xa9, 0x6b, 0x9e, 0xeb, 0xaa, 0xe2, 0xd3, 0x65, 0x75, 0x2d, 0x5f, 0x7d, 0xb4, 0x5d, 0x41, + 0x8f, 0xb7, 0x2b, 0xe8, 0xcf, 0xed, 0x0a, 0xfa, 0x6e, 0xa7, 0x32, 0xf6, 0x78, 0xa7, 0x32, 0xf6, + 0xfb, 0x4e, 0x65, 0xec, 0xc3, 0x39, 0xc7, 0x0d, 0xef, 0x6c, 0x36, 0xad, 0x16, 0xeb, 0xa6, 0xa1, + 0xde, 0x8b, 0x67, 0xcb, 0x56, 0x8f, 0x06, 0xcd, 0x71, 0xfe, 0x2e, 0x3e, 0xf7, 0x24, 0x00, 0x00, + 0xff, 0xff, 0xd5, 0x2f, 0x33, 0x14, 0x50, 0x11, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -660,6 +952,9 @@ type QueryClient interface { Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) Transfer(ctx context.Context, in *QueryGetTransferRequest, opts ...grpc.CallOption) (*QueryGetTransferResponse, error) IdentityDefaultTransfer(ctx context.Context, in *QueryGetIdentityDefaultTransferRequest, opts ...grpc.CallOption) (*QueryGetIdentityDefaultTransferResponse, error) + IdentityGISTTransfer(ctx context.Context, in *QueryGetIdentityGISTTransferRequest, opts ...grpc.CallOption) (*QueryGetIdentityGISTTransferResponse, error) + IdentityStateTransfer(ctx context.Context, in *QueryGetIdentityStateTransferRequest, opts ...grpc.CallOption) (*QueryGetIdentityStateTransferResponse, error) + WorldCoinIdentityTransfer(ctx context.Context, in *QueryGetWorldCoinIdentityTransferRequest, opts ...grpc.CallOption) (*QueryGetWorldCoinIdentityTransferResponse, error) OracleAll(ctx context.Context, in *QueryGetAllOracleRequest, opts ...grpc.CallOption) (*QueryGetAllOracleResponse, error) Oracle(ctx context.Context, in *QueryGetOracleRequest, opts ...grpc.CallOption) (*QueryGetOracleResponse, error) OracleForChain(ctx context.Context, in *QueryGetOracleForChainRequest, opts ...grpc.CallOption) (*QueryGetOracleForChainResponse, error) @@ -700,6 +995,33 @@ func (c *queryClient) IdentityDefaultTransfer(ctx context.Context, in *QueryGetI return out, nil } +func (c *queryClient) IdentityGISTTransfer(ctx context.Context, in *QueryGetIdentityGISTTransferRequest, opts ...grpc.CallOption) (*QueryGetIdentityGISTTransferResponse, error) { + out := new(QueryGetIdentityGISTTransferResponse) + err := c.cc.Invoke(ctx, "/rarimo.rarimocore.oraclemanager.Query/IdentityGISTTransfer", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryClient) IdentityStateTransfer(ctx context.Context, in *QueryGetIdentityStateTransferRequest, opts ...grpc.CallOption) (*QueryGetIdentityStateTransferResponse, error) { + out := new(QueryGetIdentityStateTransferResponse) + err := c.cc.Invoke(ctx, "/rarimo.rarimocore.oraclemanager.Query/IdentityStateTransfer", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryClient) WorldCoinIdentityTransfer(ctx context.Context, in *QueryGetWorldCoinIdentityTransferRequest, opts ...grpc.CallOption) (*QueryGetWorldCoinIdentityTransferResponse, error) { + out := new(QueryGetWorldCoinIdentityTransferResponse) + err := c.cc.Invoke(ctx, "/rarimo.rarimocore.oraclemanager.Query/WorldCoinIdentityTransfer", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *queryClient) OracleAll(ctx context.Context, in *QueryGetAllOracleRequest, opts ...grpc.CallOption) (*QueryGetAllOracleResponse, error) { out := new(QueryGetAllOracleResponse) err := c.cc.Invoke(ctx, "/rarimo.rarimocore.oraclemanager.Query/OracleAll", in, out, opts...) @@ -733,6 +1055,9 @@ type QueryServer interface { Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) Transfer(context.Context, *QueryGetTransferRequest) (*QueryGetTransferResponse, error) IdentityDefaultTransfer(context.Context, *QueryGetIdentityDefaultTransferRequest) (*QueryGetIdentityDefaultTransferResponse, error) + IdentityGISTTransfer(context.Context, *QueryGetIdentityGISTTransferRequest) (*QueryGetIdentityGISTTransferResponse, error) + IdentityStateTransfer(context.Context, *QueryGetIdentityStateTransferRequest) (*QueryGetIdentityStateTransferResponse, error) + WorldCoinIdentityTransfer(context.Context, *QueryGetWorldCoinIdentityTransferRequest) (*QueryGetWorldCoinIdentityTransferResponse, error) OracleAll(context.Context, *QueryGetAllOracleRequest) (*QueryGetAllOracleResponse, error) Oracle(context.Context, *QueryGetOracleRequest) (*QueryGetOracleResponse, error) OracleForChain(context.Context, *QueryGetOracleForChainRequest) (*QueryGetOracleForChainResponse, error) @@ -751,6 +1076,15 @@ func (*UnimplementedQueryServer) Transfer(ctx context.Context, req *QueryGetTran func (*UnimplementedQueryServer) IdentityDefaultTransfer(ctx context.Context, req *QueryGetIdentityDefaultTransferRequest) (*QueryGetIdentityDefaultTransferResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IdentityDefaultTransfer not implemented") } +func (*UnimplementedQueryServer) IdentityGISTTransfer(ctx context.Context, req *QueryGetIdentityGISTTransferRequest) (*QueryGetIdentityGISTTransferResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method IdentityGISTTransfer not implemented") +} +func (*UnimplementedQueryServer) IdentityStateTransfer(ctx context.Context, req *QueryGetIdentityStateTransferRequest) (*QueryGetIdentityStateTransferResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method IdentityStateTransfer not implemented") +} +func (*UnimplementedQueryServer) WorldCoinIdentityTransfer(ctx context.Context, req *QueryGetWorldCoinIdentityTransferRequest) (*QueryGetWorldCoinIdentityTransferResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method WorldCoinIdentityTransfer not implemented") +} func (*UnimplementedQueryServer) OracleAll(ctx context.Context, req *QueryGetAllOracleRequest) (*QueryGetAllOracleResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method OracleAll not implemented") } @@ -819,6 +1153,60 @@ func _Query_IdentityDefaultTransfer_Handler(srv interface{}, ctx context.Context return interceptor(ctx, in, info, handler) } +func _Query_IdentityGISTTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetIdentityGISTTransferRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).IdentityGISTTransfer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/rarimo.rarimocore.oraclemanager.Query/IdentityGISTTransfer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).IdentityGISTTransfer(ctx, req.(*QueryGetIdentityGISTTransferRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _Query_IdentityStateTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetIdentityStateTransferRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).IdentityStateTransfer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/rarimo.rarimocore.oraclemanager.Query/IdentityStateTransfer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).IdentityStateTransfer(ctx, req.(*QueryGetIdentityStateTransferRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _Query_WorldCoinIdentityTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetWorldCoinIdentityTransferRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).WorldCoinIdentityTransfer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/rarimo.rarimocore.oraclemanager.Query/WorldCoinIdentityTransfer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).WorldCoinIdentityTransfer(ctx, req.(*QueryGetWorldCoinIdentityTransferRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _Query_OracleAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(QueryGetAllOracleRequest) if err := dec(in); err != nil { @@ -889,6 +1277,18 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "IdentityDefaultTransfer", Handler: _Query_IdentityDefaultTransfer_Handler, }, + { + MethodName: "IdentityGISTTransfer", + Handler: _Query_IdentityGISTTransfer_Handler, + }, + { + MethodName: "IdentityStateTransfer", + Handler: _Query_IdentityStateTransfer_Handler, + }, + { + MethodName: "WorldCoinIdentityTransfer", + Handler: _Query_WorldCoinIdentityTransfer_Handler, + }, { MethodName: "OracleAll", Handler: _Query_OracleAll_Handler, @@ -1094,7 +1494,7 @@ func (m *QueryGetIdentityDefaultTransferResponse) MarshalToSizedBuffer(dAtA []by return len(dAtA) - i, nil } -func (m *QueryGetAllOracleRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryGetIdentityGISTTransferRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1104,27 +1504,225 @@ func (m *QueryGetAllOracleRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGetAllOracleRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetIdentityGISTTransferRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetAllOracleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetIdentityGISTTransferRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) + { + size, err := m.Msg.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0xa + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *QueryGetIdentityGISTTransferResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGetIdentityGISTTransferResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGetIdentityGISTTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Transfer.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *QueryGetIdentityStateTransferRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGetIdentityStateTransferRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGetIdentityStateTransferRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Msg.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *QueryGetIdentityStateTransferResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGetIdentityStateTransferResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGetIdentityStateTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Transfer.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *QueryGetWorldCoinIdentityTransferRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGetWorldCoinIdentityTransferRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGetWorldCoinIdentityTransferRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Msg.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *QueryGetWorldCoinIdentityTransferResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGetWorldCoinIdentityTransferResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGetWorldCoinIdentityTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Transfer.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *QueryGetAllOracleRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGetAllOracleRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGetAllOracleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } @@ -1390,6 +1988,72 @@ func (m *QueryGetIdentityDefaultTransferResponse) Size() (n int) { return n } +func (m *QueryGetIdentityGISTTransferRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Msg.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func (m *QueryGetIdentityGISTTransferResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Transfer.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func (m *QueryGetIdentityStateTransferRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Msg.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func (m *QueryGetIdentityStateTransferResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Transfer.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func (m *QueryGetWorldCoinIdentityTransferRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Msg.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func (m *QueryGetWorldCoinIdentityTransferResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Transfer.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + func (m *QueryGetAllOracleRequest) Size() (n int) { if m == nil { return 0 @@ -1949,6 +2613,504 @@ func (m *QueryGetIdentityDefaultTransferResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *QueryGetIdentityGISTTransferRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryGetIdentityGISTTransferRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGetIdentityGISTTransferRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Msg.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryGetIdentityGISTTransferResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryGetIdentityGISTTransferResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGetIdentityGISTTransferResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Transfer", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Transfer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryGetIdentityStateTransferRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryGetIdentityStateTransferRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGetIdentityStateTransferRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Msg.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryGetIdentityStateTransferResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryGetIdentityStateTransferResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGetIdentityStateTransferResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Transfer", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Transfer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryGetWorldCoinIdentityTransferRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryGetWorldCoinIdentityTransferRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGetWorldCoinIdentityTransferRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Msg.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryGetWorldCoinIdentityTransferResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryGetWorldCoinIdentityTransferResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGetWorldCoinIdentityTransferResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Transfer", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Transfer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *QueryGetAllOracleRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/x/oraclemanager/types/query.pb.gw.go b/x/oraclemanager/types/query.pb.gw.go index 8b874c93..134b9bdf 100644 --- a/x/oraclemanager/types/query.pb.gw.go +++ b/x/oraclemanager/types/query.pb.gw.go @@ -123,6 +123,114 @@ func local_request_Query_IdentityDefaultTransfer_0(ctx context.Context, marshale } +var ( + filter_Query_IdentityGISTTransfer_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_Query_IdentityGISTTransfer_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGetIdentityGISTTransferRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_IdentityGISTTransfer_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.IdentityGISTTransfer(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_IdentityGISTTransfer_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGetIdentityGISTTransferRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_IdentityGISTTransfer_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.IdentityGISTTransfer(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_Query_IdentityStateTransfer_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_Query_IdentityStateTransfer_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGetIdentityStateTransferRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_IdentityStateTransfer_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.IdentityStateTransfer(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_IdentityStateTransfer_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGetIdentityStateTransferRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_IdentityStateTransfer_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.IdentityStateTransfer(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_Query_WorldCoinIdentityTransfer_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_Query_WorldCoinIdentityTransfer_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGetWorldCoinIdentityTransferRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_WorldCoinIdentityTransfer_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.WorldCoinIdentityTransfer(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_WorldCoinIdentityTransfer_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGetWorldCoinIdentityTransferRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_WorldCoinIdentityTransfer_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.WorldCoinIdentityTransfer(ctx, &protoReq) + return msg, metadata, err + +} + var ( filter_Query_OracleAll_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} ) @@ -364,6 +472,75 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) + mux.Handle("GET", pattern_Query_IdentityGISTTransfer_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_IdentityGISTTransfer_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_IdentityGISTTransfer_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_IdentityStateTransfer_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_IdentityStateTransfer_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_IdentityStateTransfer_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_WorldCoinIdentityTransfer_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_WorldCoinIdentityTransfer_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_WorldCoinIdentityTransfer_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_OracleAll_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -534,6 +711,66 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_IdentityGISTTransfer_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_IdentityGISTTransfer_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_IdentityGISTTransfer_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_IdentityStateTransfer_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_IdentityStateTransfer_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_IdentityStateTransfer_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_WorldCoinIdentityTransfer_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_WorldCoinIdentityTransfer_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_WorldCoinIdentityTransfer_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_OracleAll_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -604,6 +841,12 @@ var ( pattern_Query_IdentityDefaultTransfer_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"rarimo", "rarimo-core", "oraclemanager", "identity_default_transfer"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_IdentityGISTTransfer_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"rarimo", "rarimo-core", "oraclemanager", "identity_gist_transfer"}, "", runtime.AssumeColonVerbOpt(true))) + + pattern_Query_IdentityStateTransfer_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"rarimo", "rarimo-core", "oraclemanager", "identity_state_transfer"}, "", runtime.AssumeColonVerbOpt(true))) + + pattern_Query_WorldCoinIdentityTransfer_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"rarimo", "rarimo-core", "oraclemanager", "world_coin_identity_transfer"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_OracleAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"rarimo", "rarimo-core", "oraclemanager", "oracle"}, "", runtime.AssumeColonVerbOpt(true))) pattern_Query_Oracle_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"rarimo", "rarimo-core", "oraclemanager", "oracle", "chain", "address"}, "", runtime.AssumeColonVerbOpt(true))) @@ -618,6 +861,12 @@ var ( forward_Query_IdentityDefaultTransfer_0 = runtime.ForwardResponseMessage + forward_Query_IdentityGISTTransfer_0 = runtime.ForwardResponseMessage + + forward_Query_IdentityStateTransfer_0 = runtime.ForwardResponseMessage + + forward_Query_WorldCoinIdentityTransfer_0 = runtime.ForwardResponseMessage + forward_Query_OracleAll_0 = runtime.ForwardResponseMessage forward_Query_Oracle_0 = runtime.ForwardResponseMessage diff --git a/x/oraclemanager/types/tx.pb.go b/x/oraclemanager/types/tx.pb.go index df989bbc..9ba27c10 100644 --- a/x/oraclemanager/types/tx.pb.go +++ b/x/oraclemanager/types/tx.pb.go @@ -573,24 +573,32 @@ func (m *MsgCreateIdentityDefaultTransferOpResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgCreateIdentityDefaultTransferOpResponse proto.InternalMessageInfo -type MsgVote struct { - Index *OracleIndex `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` - Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"` - Vote types1.VoteType `protobuf:"varint,3,opt,name=vote,proto3,enum=rarimo.rarimocore.rarimocore.VoteType" json:"vote,omitempty"` +type MsgCreateIdentityGISTTransferOp struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + // Hex 0x + Contract string `protobuf:"bytes,2,opt,name=contract,proto3" json:"contract,omitempty"` + Chain string `protobuf:"bytes,3,opt,name=chain,proto3" json:"chain,omitempty"` + // Hex 0x + GISTHash string `protobuf:"bytes,4,opt,name=GISTHash,proto3" json:"GISTHash,omitempty"` + // Dec + GISTCreatedAtTimestamp string `protobuf:"bytes,5,opt,name=GISTCreatedAtTimestamp,proto3" json:"GISTCreatedAtTimestamp,omitempty"` + GISTCreatedAtBlock string `protobuf:"bytes,6,opt,name=GISTCreatedAtBlock,proto3" json:"GISTCreatedAtBlock,omitempty"` + // HEx 0x + ReplacedGISTtHash string `protobuf:"bytes,7,opt,name=replacedGISTtHash,proto3" json:"replacedGISTtHash,omitempty"` } -func (m *MsgVote) Reset() { *m = MsgVote{} } -func (m *MsgVote) String() string { return proto.CompactTextString(m) } -func (*MsgVote) ProtoMessage() {} -func (*MsgVote) Descriptor() ([]byte, []int) { +func (m *MsgCreateIdentityGISTTransferOp) Reset() { *m = MsgCreateIdentityGISTTransferOp{} } +func (m *MsgCreateIdentityGISTTransferOp) String() string { return proto.CompactTextString(m) } +func (*MsgCreateIdentityGISTTransferOp) ProtoMessage() {} +func (*MsgCreateIdentityGISTTransferOp) Descriptor() ([]byte, []int) { return fileDescriptor_d374eae837d744eb, []int{8} } -func (m *MsgVote) XXX_Unmarshal(b []byte) error { +func (m *MsgCreateIdentityGISTTransferOp) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgCreateIdentityGISTTransferOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgVote.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgCreateIdentityGISTTransferOp.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -600,54 +608,84 @@ func (m *MsgVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *MsgVote) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgVote.Merge(m, src) +func (m *MsgCreateIdentityGISTTransferOp) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgCreateIdentityGISTTransferOp.Merge(m, src) } -func (m *MsgVote) XXX_Size() int { +func (m *MsgCreateIdentityGISTTransferOp) XXX_Size() int { return m.Size() } -func (m *MsgVote) XXX_DiscardUnknown() { - xxx_messageInfo_MsgVote.DiscardUnknown(m) +func (m *MsgCreateIdentityGISTTransferOp) XXX_DiscardUnknown() { + xxx_messageInfo_MsgCreateIdentityGISTTransferOp.DiscardUnknown(m) } -var xxx_messageInfo_MsgVote proto.InternalMessageInfo +var xxx_messageInfo_MsgCreateIdentityGISTTransferOp proto.InternalMessageInfo -func (m *MsgVote) GetIndex() *OracleIndex { +func (m *MsgCreateIdentityGISTTransferOp) GetCreator() string { if m != nil { - return m.Index + return m.Creator } - return nil + return "" } -func (m *MsgVote) GetOperation() string { +func (m *MsgCreateIdentityGISTTransferOp) GetContract() string { if m != nil { - return m.Operation + return m.Contract } return "" } -func (m *MsgVote) GetVote() types1.VoteType { +func (m *MsgCreateIdentityGISTTransferOp) GetChain() string { if m != nil { - return m.Vote + return m.Chain } - return types1.VoteType_YES + return "" } -type MsgVoteResponse struct { +func (m *MsgCreateIdentityGISTTransferOp) GetGISTHash() string { + if m != nil { + return m.GISTHash + } + return "" } -func (m *MsgVoteResponse) Reset() { *m = MsgVoteResponse{} } -func (m *MsgVoteResponse) String() string { return proto.CompactTextString(m) } -func (*MsgVoteResponse) ProtoMessage() {} -func (*MsgVoteResponse) Descriptor() ([]byte, []int) { +func (m *MsgCreateIdentityGISTTransferOp) GetGISTCreatedAtTimestamp() string { + if m != nil { + return m.GISTCreatedAtTimestamp + } + return "" +} + +func (m *MsgCreateIdentityGISTTransferOp) GetGISTCreatedAtBlock() string { + if m != nil { + return m.GISTCreatedAtBlock + } + return "" +} + +func (m *MsgCreateIdentityGISTTransferOp) GetReplacedGISTtHash() string { + if m != nil { + return m.ReplacedGISTtHash + } + return "" +} + +type MsgCreateIdentityGISTTransferOpResponse struct { +} + +func (m *MsgCreateIdentityGISTTransferOpResponse) Reset() { + *m = MsgCreateIdentityGISTTransferOpResponse{} +} +func (m *MsgCreateIdentityGISTTransferOpResponse) String() string { return proto.CompactTextString(m) } +func (*MsgCreateIdentityGISTTransferOpResponse) ProtoMessage() {} +func (*MsgCreateIdentityGISTTransferOpResponse) Descriptor() ([]byte, []int) { return fileDescriptor_d374eae837d744eb, []int{9} } -func (m *MsgVoteResponse) XXX_Unmarshal(b []byte) error { +func (m *MsgCreateIdentityGISTTransferOpResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgCreateIdentityGISTTransferOpResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgVoteResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgCreateIdentityGISTTransferOpResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -657,34 +695,46 @@ func (m *MsgVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } -func (m *MsgVoteResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgVoteResponse.Merge(m, src) +func (m *MsgCreateIdentityGISTTransferOpResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgCreateIdentityGISTTransferOpResponse.Merge(m, src) } -func (m *MsgVoteResponse) XXX_Size() int { +func (m *MsgCreateIdentityGISTTransferOpResponse) XXX_Size() int { return m.Size() } -func (m *MsgVoteResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgVoteResponse.DiscardUnknown(m) +func (m *MsgCreateIdentityGISTTransferOpResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgCreateIdentityGISTTransferOpResponse.DiscardUnknown(m) } -var xxx_messageInfo_MsgVoteResponse proto.InternalMessageInfo +var xxx_messageInfo_MsgCreateIdentityGISTTransferOpResponse proto.InternalMessageInfo -type MsgUnjail struct { - Index *OracleIndex `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` +type MsgCreateIdentityStateTransferOp struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + // Hex 0x + Contract string `protobuf:"bytes,2,opt,name=contract,proto3" json:"contract,omitempty"` + Chain string `protobuf:"bytes,3,opt,name=chain,proto3" json:"chain,omitempty"` + // Hex 0x + Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` + // Hex 0x + StateHash string `protobuf:"bytes,6,opt,name=stateHash,proto3" json:"stateHash,omitempty"` + // Dec + StateCreatedAtTimestamp string `protobuf:"bytes,7,opt,name=stateCreatedAtTimestamp,proto3" json:"stateCreatedAtTimestamp,omitempty"` + StateCreatedAtBlock string `protobuf:"bytes,8,opt,name=stateCreatedAtBlock,proto3" json:"stateCreatedAtBlock,omitempty"` + // HEx 0x + ReplacedStateHash string `protobuf:"bytes,17,opt,name=replacedStateHash,proto3" json:"replacedStateHash,omitempty"` } -func (m *MsgUnjail) Reset() { *m = MsgUnjail{} } -func (m *MsgUnjail) String() string { return proto.CompactTextString(m) } -func (*MsgUnjail) ProtoMessage() {} -func (*MsgUnjail) Descriptor() ([]byte, []int) { +func (m *MsgCreateIdentityStateTransferOp) Reset() { *m = MsgCreateIdentityStateTransferOp{} } +func (m *MsgCreateIdentityStateTransferOp) String() string { return proto.CompactTextString(m) } +func (*MsgCreateIdentityStateTransferOp) ProtoMessage() {} +func (*MsgCreateIdentityStateTransferOp) Descriptor() ([]byte, []int) { return fileDescriptor_d374eae837d744eb, []int{10} } -func (m *MsgUnjail) XXX_Unmarshal(b []byte) error { +func (m *MsgCreateIdentityStateTransferOp) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgUnjail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgCreateIdentityStateTransferOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgUnjail.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgCreateIdentityStateTransferOp.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -694,40 +744,91 @@ func (m *MsgUnjail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *MsgUnjail) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgUnjail.Merge(m, src) +func (m *MsgCreateIdentityStateTransferOp) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgCreateIdentityStateTransferOp.Merge(m, src) } -func (m *MsgUnjail) XXX_Size() int { +func (m *MsgCreateIdentityStateTransferOp) XXX_Size() int { return m.Size() } -func (m *MsgUnjail) XXX_DiscardUnknown() { - xxx_messageInfo_MsgUnjail.DiscardUnknown(m) +func (m *MsgCreateIdentityStateTransferOp) XXX_DiscardUnknown() { + xxx_messageInfo_MsgCreateIdentityStateTransferOp.DiscardUnknown(m) } -var xxx_messageInfo_MsgUnjail proto.InternalMessageInfo +var xxx_messageInfo_MsgCreateIdentityStateTransferOp proto.InternalMessageInfo -func (m *MsgUnjail) GetIndex() *OracleIndex { +func (m *MsgCreateIdentityStateTransferOp) GetCreator() string { if m != nil { - return m.Index + return m.Creator } - return nil + return "" } -type MsgUnjailResponse struct { +func (m *MsgCreateIdentityStateTransferOp) GetContract() string { + if m != nil { + return m.Contract + } + return "" } -func (m *MsgUnjailResponse) Reset() { *m = MsgUnjailResponse{} } -func (m *MsgUnjailResponse) String() string { return proto.CompactTextString(m) } -func (*MsgUnjailResponse) ProtoMessage() {} -func (*MsgUnjailResponse) Descriptor() ([]byte, []int) { +func (m *MsgCreateIdentityStateTransferOp) GetChain() string { + if m != nil { + return m.Chain + } + return "" +} + +func (m *MsgCreateIdentityStateTransferOp) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *MsgCreateIdentityStateTransferOp) GetStateHash() string { + if m != nil { + return m.StateHash + } + return "" +} + +func (m *MsgCreateIdentityStateTransferOp) GetStateCreatedAtTimestamp() string { + if m != nil { + return m.StateCreatedAtTimestamp + } + return "" +} + +func (m *MsgCreateIdentityStateTransferOp) GetStateCreatedAtBlock() string { + if m != nil { + return m.StateCreatedAtBlock + } + return "" +} + +func (m *MsgCreateIdentityStateTransferOp) GetReplacedStateHash() string { + if m != nil { + return m.ReplacedStateHash + } + return "" +} + +type MsgCreateIdentityStateTransferOpResponse struct { +} + +func (m *MsgCreateIdentityStateTransferOpResponse) Reset() { + *m = MsgCreateIdentityStateTransferOpResponse{} +} +func (m *MsgCreateIdentityStateTransferOpResponse) String() string { return proto.CompactTextString(m) } +func (*MsgCreateIdentityStateTransferOpResponse) ProtoMessage() {} +func (*MsgCreateIdentityStateTransferOpResponse) Descriptor() ([]byte, []int) { return fileDescriptor_d374eae837d744eb, []int{11} } -func (m *MsgUnjailResponse) XXX_Unmarshal(b []byte) error { +func (m *MsgCreateIdentityStateTransferOpResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgUnjailResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgCreateIdentityStateTransferOpResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgUnjailResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgCreateIdentityStateTransferOpResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -737,773 +838,792 @@ func (m *MsgUnjailResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *MsgUnjailResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgUnjailResponse.Merge(m, src) +func (m *MsgCreateIdentityStateTransferOpResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgCreateIdentityStateTransferOpResponse.Merge(m, src) } -func (m *MsgUnjailResponse) XXX_Size() int { +func (m *MsgCreateIdentityStateTransferOpResponse) XXX_Size() int { return m.Size() } -func (m *MsgUnjailResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgUnjailResponse.DiscardUnknown(m) +func (m *MsgCreateIdentityStateTransferOpResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgCreateIdentityStateTransferOpResponse.DiscardUnknown(m) } -var xxx_messageInfo_MsgUnjailResponse proto.InternalMessageInfo +var xxx_messageInfo_MsgCreateIdentityStateTransferOpResponse proto.InternalMessageInfo -func init() { - proto.RegisterType((*MsgStake)(nil), "rarimo.rarimocore.oraclemanager.MsgStake") - proto.RegisterType((*MsgStakeResponse)(nil), "rarimo.rarimocore.oraclemanager.MsgStakeResponse") - proto.RegisterType((*MsgUnstake)(nil), "rarimo.rarimocore.oraclemanager.MsgUnstake") - proto.RegisterType((*MsgUnstakeResponse)(nil), "rarimo.rarimocore.oraclemanager.MsgUnstakeResponse") - proto.RegisterType((*MsgCreateTransferOp)(nil), "rarimo.rarimocore.oraclemanager.MsgCreateTransferOp") - proto.RegisterType((*MsgCreateTransferOpResponse)(nil), "rarimo.rarimocore.oraclemanager.MsgCreateTransferOpResponse") - proto.RegisterType((*MsgCreateIdentityDefaultTransferOp)(nil), "rarimo.rarimocore.oraclemanager.MsgCreateIdentityDefaultTransferOp") - proto.RegisterType((*MsgCreateIdentityDefaultTransferOpResponse)(nil), "rarimo.rarimocore.oraclemanager.MsgCreateIdentityDefaultTransferOpResponse") - proto.RegisterType((*MsgVote)(nil), "rarimo.rarimocore.oraclemanager.MsgVote") - proto.RegisterType((*MsgVoteResponse)(nil), "rarimo.rarimocore.oraclemanager.MsgVoteResponse") - proto.RegisterType((*MsgUnjail)(nil), "rarimo.rarimocore.oraclemanager.MsgUnjail") - proto.RegisterType((*MsgUnjailResponse)(nil), "rarimo.rarimocore.oraclemanager.MsgUnjailResponse") +type MsgCreateWorldCoinIdentityTransferOp struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + Contract string `protobuf:"bytes,2,opt,name=contract,proto3" json:"contract,omitempty"` + Chain string `protobuf:"bytes,3,opt,name=chain,proto3" json:"chain,omitempty"` + // Hex 0x uint256 + PrevState string `protobuf:"bytes,4,opt,name=prevState,proto3" json:"prevState,omitempty"` + // Hex 0x uint256 + State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` + // Dec uint256 + Timestamp string `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + BlockNumber uint64 `protobuf:"varint,7,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` +} + +func (m *MsgCreateWorldCoinIdentityTransferOp) Reset() { *m = MsgCreateWorldCoinIdentityTransferOp{} } +func (m *MsgCreateWorldCoinIdentityTransferOp) String() string { return proto.CompactTextString(m) } +func (*MsgCreateWorldCoinIdentityTransferOp) ProtoMessage() {} +func (*MsgCreateWorldCoinIdentityTransferOp) Descriptor() ([]byte, []int) { + return fileDescriptor_d374eae837d744eb, []int{12} +} +func (m *MsgCreateWorldCoinIdentityTransferOp) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgCreateWorldCoinIdentityTransferOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgCreateWorldCoinIdentityTransferOp.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgCreateWorldCoinIdentityTransferOp) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgCreateWorldCoinIdentityTransferOp.Merge(m, src) +} +func (m *MsgCreateWorldCoinIdentityTransferOp) XXX_Size() int { + return m.Size() +} +func (m *MsgCreateWorldCoinIdentityTransferOp) XXX_DiscardUnknown() { + xxx_messageInfo_MsgCreateWorldCoinIdentityTransferOp.DiscardUnknown(m) } -func init() { proto.RegisterFile("oraclemanager/tx.proto", fileDescriptor_d374eae837d744eb) } +var xxx_messageInfo_MsgCreateWorldCoinIdentityTransferOp proto.InternalMessageInfo -var fileDescriptor_d374eae837d744eb = []byte{ - // 863 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xd1, 0x6e, 0xe3, 0x44, - 0x14, 0xad, 0xd3, 0xa4, 0x6d, 0xee, 0x42, 0x97, 0x4e, 0x4b, 0x6b, 0x99, 0x25, 0xbb, 0xf2, 0x43, - 0x55, 0x96, 0xe2, 0x94, 0x16, 0x21, 0x84, 0x78, 0x80, 0x74, 0x05, 0x04, 0x14, 0x55, 0x72, 0x0b, - 0x0f, 0xbc, 0x4d, 0xed, 0x5b, 0xd7, 0xd4, 0xf6, 0x58, 0xe3, 0x69, 0x95, 0xf0, 0x0f, 0x48, 0xfc, - 0x05, 0xff, 0x00, 0x7c, 0xc0, 0x3e, 0xee, 0x23, 0x4f, 0x08, 0xb5, 0xbf, 0xc0, 0x07, 0xa0, 0x19, - 0x8f, 0x1d, 0x27, 0x24, 0x8a, 0x81, 0x3c, 0xc5, 0xf7, 0x9e, 0x73, 0xef, 0x3d, 0x9e, 0x73, 0x63, - 0x1b, 0x76, 0x19, 0xa7, 0x5e, 0x84, 0x31, 0x4d, 0x68, 0x80, 0xbc, 0x2b, 0x86, 0x4e, 0xca, 0x99, - 0x60, 0xe4, 0x29, 0xa7, 0x3c, 0x8c, 0x99, 0x93, 0xff, 0x78, 0x8c, 0xa3, 0x33, 0xc1, 0xb4, 0xf6, - 0x04, 0xbb, 0xc1, 0xa4, 0xa8, 0x0b, 0x05, 0xc6, 0x79, 0xa5, 0xf5, 0xe6, 0xb8, 0xa4, 0x7b, 0xc7, - 0x04, 0xea, 0xb4, 0x35, 0x39, 0x28, 0x8f, 0x34, 0xb6, 0x13, 0xb0, 0x80, 0xa9, 0xcb, 0xae, 0xbc, - 0xca, 0xb3, 0xf6, 0x0f, 0xb0, 0x31, 0xc8, 0x82, 0x73, 0x41, 0x6f, 0x90, 0xf4, 0xa0, 0x15, 0x26, - 0x3e, 0x0e, 0x4d, 0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 0x6f, 0xfa, 0x41, 0x54, 0x98, 0xf5, 0x41, 0x9d, 0x86, 0xd3, 0xc5, - 0xd6, 0x27, 0xff, 0xa5, 0xaa, 0xd4, 0xf3, 0x8b, 0x01, 0xfb, 0x0b, 0x56, 0xb7, 0x90, 0x77, 0x5a, - 0x7f, 0xd0, 0xdc, 0x5e, 0xd6, 0xd7, 0x4b, 0x68, 0x52, 0x8a, 0xbf, 0x84, 0xa6, 0xfa, 0x1f, 0x1d, - 0xd4, 0x69, 0x2a, 0x99, 0xd6, 0x51, 0x5d, 0x66, 0x39, 0xe3, 0x1a, 0xd6, 0xf4, 0xbe, 0x3f, 0xaf, - 0xe7, 0xb7, 0xe4, 0x5a, 0xc7, 0xf5, 0xb9, 0xc5, 0xa4, 0xde, 0xe0, 0xe5, 0x7d, 0xc7, 0x78, 0x75, - 0xdf, 0x31, 0xfe, 0xbc, 0xef, 0x18, 0x3f, 0x3d, 0x74, 0x56, 0x5e, 0x3d, 0x74, 0x56, 0x7e, 0x7f, - 0xe8, 0xac, 0x7c, 0x77, 0x12, 0x84, 0x22, 0xa2, 0x97, 0x8e, 0xc7, 0xe2, 0x6e, 0xde, 0x50, 0xff, - 0xbc, 0xa7, 0xbe, 0xf4, 0x86, 0xdd, 0xa9, 0x0f, 0xc9, 0x51, 0x8a, 0xd9, 0xe5, 0x9a, 0xfa, 0x92, - 0x3b, 0xf9, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xc4, 0xa2, 0x22, 0x8a, 0x66, 0x0a, 0x00, 0x00, +func (m *MsgCreateWorldCoinIdentityTransferOp) GetCreator() string { + if m != nil { + return m.Creator + } + return "" } -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +func (m *MsgCreateWorldCoinIdentityTransferOp) GetContract() string { + if m != nil { + return m.Contract + } + return "" +} -// MsgClient is the client API for Msg service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type MsgClient interface { - Stake(ctx context.Context, in *MsgStake, opts ...grpc.CallOption) (*MsgStakeResponse, error) - Unstake(ctx context.Context, in *MsgUnstake, opts ...grpc.CallOption) (*MsgUnstakeResponse, error) - CreateTransferOperation(ctx context.Context, in *MsgCreateTransferOp, opts ...grpc.CallOption) (*MsgCreateTransferOpResponse, error) - CreateIdentityDefaultTransferOperation(ctx context.Context, in *MsgCreateIdentityDefaultTransferOp, opts ...grpc.CallOption) (*MsgCreateIdentityDefaultTransferOpResponse, error) - Vote(ctx context.Context, in *MsgVote, opts ...grpc.CallOption) (*MsgVoteResponse, error) - Unjail(ctx context.Context, in *MsgUnjail, opts ...grpc.CallOption) (*MsgUnjailResponse, error) +func (m *MsgCreateWorldCoinIdentityTransferOp) GetChain() string { + if m != nil { + return m.Chain + } + return "" } -type msgClient struct { - cc grpc1.ClientConn +func (m *MsgCreateWorldCoinIdentityTransferOp) GetPrevState() string { + if m != nil { + return m.PrevState + } + return "" } -func NewMsgClient(cc grpc1.ClientConn) MsgClient { - return &msgClient{cc} +func (m *MsgCreateWorldCoinIdentityTransferOp) GetState() string { + if m != nil { + return m.State + } + return "" } -func (c *msgClient) Stake(ctx context.Context, in *MsgStake, opts ...grpc.CallOption) (*MsgStakeResponse, error) { - out := new(MsgStakeResponse) - err := c.cc.Invoke(ctx, "/rarimo.rarimocore.oraclemanager.Msg/Stake", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgCreateWorldCoinIdentityTransferOp) GetTimestamp() string { + if m != nil { + return m.Timestamp } - return out, nil + return "" } -func (c *msgClient) Unstake(ctx context.Context, in *MsgUnstake, opts ...grpc.CallOption) (*MsgUnstakeResponse, error) { - out := new(MsgUnstakeResponse) - err := c.cc.Invoke(ctx, "/rarimo.rarimocore.oraclemanager.Msg/Unstake", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgCreateWorldCoinIdentityTransferOp) GetBlockNumber() uint64 { + if m != nil { + return m.BlockNumber } - return out, nil + return 0 } -func (c *msgClient) CreateTransferOperation(ctx context.Context, in *MsgCreateTransferOp, opts ...grpc.CallOption) (*MsgCreateTransferOpResponse, error) { - out := new(MsgCreateTransferOpResponse) - err := c.cc.Invoke(ctx, "/rarimo.rarimocore.oraclemanager.Msg/CreateTransferOperation", in, out, opts...) - if err != nil { - return nil, err +type MsgCreateWorldCoinIdentityTransferOpResponse struct { +} + +func (m *MsgCreateWorldCoinIdentityTransferOpResponse) Reset() { + *m = MsgCreateWorldCoinIdentityTransferOpResponse{} +} +func (m *MsgCreateWorldCoinIdentityTransferOpResponse) String() string { + return proto.CompactTextString(m) +} +func (*MsgCreateWorldCoinIdentityTransferOpResponse) ProtoMessage() {} +func (*MsgCreateWorldCoinIdentityTransferOpResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d374eae837d744eb, []int{13} +} +func (m *MsgCreateWorldCoinIdentityTransferOpResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgCreateWorldCoinIdentityTransferOpResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgCreateWorldCoinIdentityTransferOpResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *MsgCreateWorldCoinIdentityTransferOpResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgCreateWorldCoinIdentityTransferOpResponse.Merge(m, src) +} +func (m *MsgCreateWorldCoinIdentityTransferOpResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgCreateWorldCoinIdentityTransferOpResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgCreateWorldCoinIdentityTransferOpResponse.DiscardUnknown(m) } -func (c *msgClient) CreateIdentityDefaultTransferOperation(ctx context.Context, in *MsgCreateIdentityDefaultTransferOp, opts ...grpc.CallOption) (*MsgCreateIdentityDefaultTransferOpResponse, error) { - out := new(MsgCreateIdentityDefaultTransferOpResponse) - err := c.cc.Invoke(ctx, "/rarimo.rarimocore.oraclemanager.Msg/CreateIdentityDefaultTransferOperation", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_MsgCreateWorldCoinIdentityTransferOpResponse proto.InternalMessageInfo + +type MsgVote struct { + Index *OracleIndex `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` + Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"` + Vote types1.VoteType `protobuf:"varint,3,opt,name=vote,proto3,enum=rarimo.rarimocore.rarimocore.VoteType" json:"vote,omitempty"` +} + +func (m *MsgVote) Reset() { *m = MsgVote{} } +func (m *MsgVote) String() string { return proto.CompactTextString(m) } +func (*MsgVote) ProtoMessage() {} +func (*MsgVote) Descriptor() ([]byte, []int) { + return fileDescriptor_d374eae837d744eb, []int{14} +} +func (m *MsgVote) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgVote.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *MsgVote) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgVote.Merge(m, src) +} +func (m *MsgVote) XXX_Size() int { + return m.Size() +} +func (m *MsgVote) XXX_DiscardUnknown() { + xxx_messageInfo_MsgVote.DiscardUnknown(m) } -func (c *msgClient) Vote(ctx context.Context, in *MsgVote, opts ...grpc.CallOption) (*MsgVoteResponse, error) { - out := new(MsgVoteResponse) - err := c.cc.Invoke(ctx, "/rarimo.rarimocore.oraclemanager.Msg/Vote", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_MsgVote proto.InternalMessageInfo + +func (m *MsgVote) GetIndex() *OracleIndex { + if m != nil { + return m.Index } - return out, nil + return nil } -func (c *msgClient) Unjail(ctx context.Context, in *MsgUnjail, opts ...grpc.CallOption) (*MsgUnjailResponse, error) { - out := new(MsgUnjailResponse) - err := c.cc.Invoke(ctx, "/rarimo.rarimocore.oraclemanager.Msg/Unjail", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgVote) GetOperation() string { + if m != nil { + return m.Operation } - return out, nil + return "" } -// MsgServer is the server API for Msg service. -type MsgServer interface { - Stake(context.Context, *MsgStake) (*MsgStakeResponse, error) - Unstake(context.Context, *MsgUnstake) (*MsgUnstakeResponse, error) - CreateTransferOperation(context.Context, *MsgCreateTransferOp) (*MsgCreateTransferOpResponse, error) - CreateIdentityDefaultTransferOperation(context.Context, *MsgCreateIdentityDefaultTransferOp) (*MsgCreateIdentityDefaultTransferOpResponse, error) - Vote(context.Context, *MsgVote) (*MsgVoteResponse, error) - Unjail(context.Context, *MsgUnjail) (*MsgUnjailResponse, error) +func (m *MsgVote) GetVote() types1.VoteType { + if m != nil { + return m.Vote + } + return types1.VoteType_YES } -// UnimplementedMsgServer can be embedded to have forward compatible implementations. -type UnimplementedMsgServer struct { +type MsgVoteResponse struct { } -func (*UnimplementedMsgServer) Stake(ctx context.Context, req *MsgStake) (*MsgStakeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Stake not implemented") +func (m *MsgVoteResponse) Reset() { *m = MsgVoteResponse{} } +func (m *MsgVoteResponse) String() string { return proto.CompactTextString(m) } +func (*MsgVoteResponse) ProtoMessage() {} +func (*MsgVoteResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d374eae837d744eb, []int{15} } -func (*UnimplementedMsgServer) Unstake(ctx context.Context, req *MsgUnstake) (*MsgUnstakeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Unstake not implemented") +func (m *MsgVoteResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } -func (*UnimplementedMsgServer) CreateTransferOperation(ctx context.Context, req *MsgCreateTransferOp) (*MsgCreateTransferOpResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTransferOperation not implemented") +func (m *MsgVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgVoteResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } } -func (*UnimplementedMsgServer) CreateIdentityDefaultTransferOperation(ctx context.Context, req *MsgCreateIdentityDefaultTransferOp) (*MsgCreateIdentityDefaultTransferOpResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateIdentityDefaultTransferOperation not implemented") +func (m *MsgVoteResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgVoteResponse.Merge(m, src) } -func (*UnimplementedMsgServer) Vote(ctx context.Context, req *MsgVote) (*MsgVoteResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Vote not implemented") +func (m *MsgVoteResponse) XXX_Size() int { + return m.Size() } -func (*UnimplementedMsgServer) Unjail(ctx context.Context, req *MsgUnjail) (*MsgUnjailResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Unjail not implemented") +func (m *MsgVoteResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgVoteResponse.DiscardUnknown(m) } -func RegisterMsgServer(s grpc1.Server, srv MsgServer) { - s.RegisterService(&_Msg_serviceDesc, srv) -} +var xxx_messageInfo_MsgVoteResponse proto.InternalMessageInfo -func _Msg_Stake_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgStake) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).Stake(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/rarimo.rarimocore.oraclemanager.Msg/Stake", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).Stake(ctx, req.(*MsgStake)) - } - return interceptor(ctx, in, info, handler) +type MsgUnjail struct { + Index *OracleIndex `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` } -func _Msg_Unstake_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgUnstake) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).Unstake(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/rarimo.rarimocore.oraclemanager.Msg/Unstake", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).Unstake(ctx, req.(*MsgUnstake)) - } - return interceptor(ctx, in, info, handler) +func (m *MsgUnjail) Reset() { *m = MsgUnjail{} } +func (m *MsgUnjail) String() string { return proto.CompactTextString(m) } +func (*MsgUnjail) ProtoMessage() {} +func (*MsgUnjail) Descriptor() ([]byte, []int) { + return fileDescriptor_d374eae837d744eb, []int{16} } - -func _Msg_CreateTransferOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgCreateTransferOp) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).CreateTransferOperation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/rarimo.rarimocore.oraclemanager.Msg/CreateTransferOperation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).CreateTransferOperation(ctx, req.(*MsgCreateTransferOp)) +func (m *MsgUnjail) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUnjail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUnjail.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return interceptor(ctx, in, info, handler) +} +func (m *MsgUnjail) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUnjail.Merge(m, src) +} +func (m *MsgUnjail) XXX_Size() int { + return m.Size() +} +func (m *MsgUnjail) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUnjail.DiscardUnknown(m) } -func _Msg_CreateIdentityDefaultTransferOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgCreateIdentityDefaultTransferOp) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).CreateIdentityDefaultTransferOperation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/rarimo.rarimocore.oraclemanager.Msg/CreateIdentityDefaultTransferOperation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).CreateIdentityDefaultTransferOperation(ctx, req.(*MsgCreateIdentityDefaultTransferOp)) +var xxx_messageInfo_MsgUnjail proto.InternalMessageInfo + +func (m *MsgUnjail) GetIndex() *OracleIndex { + if m != nil { + return m.Index } - return interceptor(ctx, in, info, handler) + return nil } -func _Msg_Vote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgVote) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).Vote(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/rarimo.rarimocore.oraclemanager.Msg/Vote", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).Vote(ctx, req.(*MsgVote)) - } - return interceptor(ctx, in, info, handler) +type MsgUnjailResponse struct { } -func _Msg_Unjail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgUnjail) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).Unjail(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/rarimo.rarimocore.oraclemanager.Msg/Unjail", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).Unjail(ctx, req.(*MsgUnjail)) - } - return interceptor(ctx, in, info, handler) +func (m *MsgUnjailResponse) Reset() { *m = MsgUnjailResponse{} } +func (m *MsgUnjailResponse) String() string { return proto.CompactTextString(m) } +func (*MsgUnjailResponse) ProtoMessage() {} +func (*MsgUnjailResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d374eae837d744eb, []int{17} } - -var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "rarimo.rarimocore.oraclemanager.Msg", - HandlerType: (*MsgServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Stake", - Handler: _Msg_Stake_Handler, - }, - { - MethodName: "Unstake", - Handler: _Msg_Unstake_Handler, - }, - { - MethodName: "CreateTransferOperation", - Handler: _Msg_CreateTransferOperation_Handler, - }, - { - MethodName: "CreateIdentityDefaultTransferOperation", - Handler: _Msg_CreateIdentityDefaultTransferOperation_Handler, - }, - { - MethodName: "Vote", - Handler: _Msg_Vote_Handler, - }, - { - MethodName: "Unjail", - Handler: _Msg_Unjail_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "oraclemanager/tx.proto", +func (m *MsgUnjailResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func (m *MsgStake) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MsgUnjailResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUnjailResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return dAtA[:n], nil +} +func (m *MsgUnjailResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUnjailResponse.Merge(m, src) +} +func (m *MsgUnjailResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgUnjailResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUnjailResponse.DiscardUnknown(m) } -func (m *MsgStake) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +var xxx_messageInfo_MsgUnjailResponse proto.InternalMessageInfo + +func init() { + proto.RegisterType((*MsgStake)(nil), "rarimo.rarimocore.oraclemanager.MsgStake") + proto.RegisterType((*MsgStakeResponse)(nil), "rarimo.rarimocore.oraclemanager.MsgStakeResponse") + proto.RegisterType((*MsgUnstake)(nil), "rarimo.rarimocore.oraclemanager.MsgUnstake") + proto.RegisterType((*MsgUnstakeResponse)(nil), "rarimo.rarimocore.oraclemanager.MsgUnstakeResponse") + proto.RegisterType((*MsgCreateTransferOp)(nil), "rarimo.rarimocore.oraclemanager.MsgCreateTransferOp") + proto.RegisterType((*MsgCreateTransferOpResponse)(nil), "rarimo.rarimocore.oraclemanager.MsgCreateTransferOpResponse") + proto.RegisterType((*MsgCreateIdentityDefaultTransferOp)(nil), "rarimo.rarimocore.oraclemanager.MsgCreateIdentityDefaultTransferOp") + proto.RegisterType((*MsgCreateIdentityDefaultTransferOpResponse)(nil), "rarimo.rarimocore.oraclemanager.MsgCreateIdentityDefaultTransferOpResponse") + proto.RegisterType((*MsgCreateIdentityGISTTransferOp)(nil), "rarimo.rarimocore.oraclemanager.MsgCreateIdentityGISTTransferOp") + proto.RegisterType((*MsgCreateIdentityGISTTransferOpResponse)(nil), "rarimo.rarimocore.oraclemanager.MsgCreateIdentityGISTTransferOpResponse") + proto.RegisterType((*MsgCreateIdentityStateTransferOp)(nil), "rarimo.rarimocore.oraclemanager.MsgCreateIdentityStateTransferOp") + proto.RegisterType((*MsgCreateIdentityStateTransferOpResponse)(nil), "rarimo.rarimocore.oraclemanager.MsgCreateIdentityStateTransferOpResponse") + proto.RegisterType((*MsgCreateWorldCoinIdentityTransferOp)(nil), "rarimo.rarimocore.oraclemanager.MsgCreateWorldCoinIdentityTransferOp") + proto.RegisterType((*MsgCreateWorldCoinIdentityTransferOpResponse)(nil), "rarimo.rarimocore.oraclemanager.MsgCreateWorldCoinIdentityTransferOpResponse") + proto.RegisterType((*MsgVote)(nil), "rarimo.rarimocore.oraclemanager.MsgVote") + proto.RegisterType((*MsgVoteResponse)(nil), "rarimo.rarimocore.oraclemanager.MsgVoteResponse") + proto.RegisterType((*MsgUnjail)(nil), "rarimo.rarimocore.oraclemanager.MsgUnjail") + proto.RegisterType((*MsgUnjailResponse)(nil), "rarimo.rarimocore.oraclemanager.MsgUnjailResponse") } -func (m *MsgStake) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.From) > 0 { - i -= len(m.From) - copy(dAtA[i:], m.From) - i = encodeVarintTx(dAtA, i, uint64(len(m.From))) - i-- - dAtA[i] = 0x1a - } - if len(m.Amount) > 0 { - i -= len(m.Amount) - copy(dAtA[i:], m.Amount) - i = encodeVarintTx(dAtA, i, uint64(len(m.Amount))) - i-- - dAtA[i] = 0x12 - } - if m.Index != nil { - { - size, err := m.Index.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +func init() { proto.RegisterFile("oraclemanager/tx.proto", fileDescriptor_d374eae837d744eb) } + +var fileDescriptor_d374eae837d744eb = []byte{ + // 1064 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcf, 0x6e, 0x23, 0xc5, + 0x13, 0xce, 0x38, 0xfe, 0x13, 0x57, 0x7e, 0xbf, 0x2c, 0xe9, 0x84, 0xc4, 0x1a, 0x82, 0x13, 0x0d, + 0xab, 0xe0, 0x0d, 0xc1, 0x0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44, 0xfd, 0x83, 0xe4, 0x7d, 0x6f, 0xa8, 0x66, 0xd6, 0x67, 0x52, 0x46, + 0xbf, 0x42, 0x13, 0xd2, 0xf2, 0xd4, 0x2d, 0x25, 0x29, 0x2b, 0x90, 0xe6, 0x5e, 0x52, 0xa4, 0xee, + 0xd1, 0x86, 0xac, 0x3a, 0x1d, 0x77, 0x92, 0x9d, 0x0e, 0x02, 0x6b, 0xee, 0x27, 0xc7, 0x46, 0x9d, + 0xaa, 0xf5, 0xa7, 0x97, 0x45, 0xe3, 0xd9, 0x65, 0xd1, 0xf8, 0xeb, 0xb2, 0x68, 0x7c, 0x7b, 0x55, + 0x9c, 0x7b, 0x76, 0x55, 0x9c, 0xfb, 0xe3, 0xaa, 0x38, 0xf7, 0xe5, 0x41, 0xcb, 0xe5, 0xed, 0x5e, + 0xb3, 0x6c, 0x53, 0xaf, 0x12, 0x16, 0x54, 0x1f, 0x6f, 0xca, 0xaf, 0xf8, 0xfd, 0xca, 0xc8, 0x2f, + 0x08, 0x17, 0x5d, 0x12, 0x34, 0xb3, 0xf2, 0x2b, 0xfc, 0xc1, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, + 0x92, 0x07, 0x98, 0xaf, 0x5f, 0x10, 0x00, 0x00, } -func (m *MsgStakeResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// MsgClient is the client API for Msg service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type MsgClient interface { + Stake(ctx context.Context, in *MsgStake, opts ...grpc.CallOption) (*MsgStakeResponse, error) + Unstake(ctx context.Context, in *MsgUnstake, opts ...grpc.CallOption) (*MsgUnstakeResponse, error) + CreateTransferOperation(ctx context.Context, in *MsgCreateTransferOp, opts ...grpc.CallOption) (*MsgCreateTransferOpResponse, error) + CreateIdentityDefaultTransferOperation(ctx context.Context, in *MsgCreateIdentityDefaultTransferOp, opts ...grpc.CallOption) (*MsgCreateIdentityDefaultTransferOpResponse, error) + CreateIdentityGISTTransferOperation(ctx context.Context, in *MsgCreateIdentityGISTTransferOp, opts ...grpc.CallOption) (*MsgCreateIdentityGISTTransferOpResponse, error) + CreateIdentityStateTransferOperation(ctx context.Context, in *MsgCreateIdentityStateTransferOp, opts ...grpc.CallOption) (*MsgCreateIdentityStateTransferOpResponse, error) + CreateWorldCoinIdentityTransferOperation(ctx context.Context, in *MsgCreateWorldCoinIdentityTransferOp, opts ...grpc.CallOption) (*MsgCreateWorldCoinIdentityTransferOpResponse, error) + Vote(ctx context.Context, in *MsgVote, opts ...grpc.CallOption) (*MsgVoteResponse, error) + Unjail(ctx context.Context, in *MsgUnjail, opts ...grpc.CallOption) (*MsgUnjailResponse, error) } -func (m *MsgStakeResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type msgClient struct { + cc grpc1.ClientConn } -func (m *MsgStakeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func NewMsgClient(cc grpc1.ClientConn) MsgClient { + return &msgClient{cc} } -func (m *MsgUnstake) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *msgClient) Stake(ctx context.Context, in *MsgStake, opts ...grpc.CallOption) (*MsgStakeResponse, error) { + out := new(MsgStakeResponse) + err := c.cc.Invoke(ctx, "/rarimo.rarimocore.oraclemanager.Msg/Stake", in, out, opts...) if err != nil { return nil, err } - return dAtA[:n], nil + return out, nil } -func (m *MsgUnstake) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (c *msgClient) Unstake(ctx context.Context, in *MsgUnstake, opts ...grpc.CallOption) (*MsgUnstakeResponse, error) { + out := new(MsgUnstakeResponse) + err := c.cc.Invoke(ctx, "/rarimo.rarimocore.oraclemanager.Msg/Unstake", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func (m *MsgUnstake) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Sender) > 0 { - i -= len(m.Sender) - copy(dAtA[i:], m.Sender) - i = encodeVarintTx(dAtA, i, uint64(len(m.Sender))) - i-- - dAtA[i] = 0x12 - } - if m.Index != nil { - { - size, err := m.Index.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func (c *msgClient) CreateTransferOperation(ctx context.Context, in *MsgCreateTransferOp, opts ...grpc.CallOption) (*MsgCreateTransferOpResponse, error) { + out := new(MsgCreateTransferOpResponse) + err := c.cc.Invoke(ctx, "/rarimo.rarimocore.oraclemanager.Msg/CreateTransferOperation", in, out, opts...) + if err != nil { + return nil, err } - return len(dAtA) - i, nil + return out, nil } -func (m *MsgUnstakeResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *msgClient) CreateIdentityDefaultTransferOperation(ctx context.Context, in *MsgCreateIdentityDefaultTransferOp, opts ...grpc.CallOption) (*MsgCreateIdentityDefaultTransferOpResponse, error) { + out := new(MsgCreateIdentityDefaultTransferOpResponse) + err := c.cc.Invoke(ctx, "/rarimo.rarimocore.oraclemanager.Msg/CreateIdentityDefaultTransferOperation", in, out, opts...) if err != nil { return nil, err } - return dAtA[:n], nil + return out, nil } -func (m *MsgUnstakeResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (c *msgClient) CreateIdentityGISTTransferOperation(ctx context.Context, in *MsgCreateIdentityGISTTransferOp, opts ...grpc.CallOption) (*MsgCreateIdentityGISTTransferOpResponse, error) { + out := new(MsgCreateIdentityGISTTransferOpResponse) + err := c.cc.Invoke(ctx, "/rarimo.rarimocore.oraclemanager.Msg/CreateIdentityGISTTransferOperation", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func (m *MsgUnstakeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func (c *msgClient) CreateIdentityStateTransferOperation(ctx context.Context, in *MsgCreateIdentityStateTransferOp, opts ...grpc.CallOption) (*MsgCreateIdentityStateTransferOpResponse, error) { + out := new(MsgCreateIdentityStateTransferOpResponse) + err := c.cc.Invoke(ctx, "/rarimo.rarimocore.oraclemanager.Msg/CreateIdentityStateTransferOperation", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func (m *MsgCreateTransferOp) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *msgClient) CreateWorldCoinIdentityTransferOperation(ctx context.Context, in *MsgCreateWorldCoinIdentityTransferOp, opts ...grpc.CallOption) (*MsgCreateWorldCoinIdentityTransferOpResponse, error) { + out := new(MsgCreateWorldCoinIdentityTransferOpResponse) + err := c.cc.Invoke(ctx, "/rarimo.rarimocore.oraclemanager.Msg/CreateWorldCoinIdentityTransferOperation", in, out, opts...) if err != nil { return nil, err } - return dAtA[:n], nil + return out, nil } -func (m *MsgCreateTransferOp) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (c *msgClient) Vote(ctx context.Context, in *MsgVote, opts ...grpc.CallOption) (*MsgVoteResponse, error) { + out := new(MsgVoteResponse) + err := c.cc.Invoke(ctx, "/rarimo.rarimocore.oraclemanager.Msg/Vote", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func (m *MsgCreateTransferOp) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Meta != nil { - { - size, err := m.Meta.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x5a - } - { - size, err := m.To.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x52 - { - size, err := m.From.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) +func (c *msgClient) Unjail(ctx context.Context, in *MsgUnjail, opts ...grpc.CallOption) (*MsgUnjailResponse, error) { + out := new(MsgUnjailResponse) + err := c.cc.Invoke(ctx, "/rarimo.rarimocore.oraclemanager.Msg/Unjail", in, out, opts...) + if err != nil { + return nil, err } - i-- - dAtA[i] = 0x4a - if len(m.BundleSalt) > 0 { - i -= len(m.BundleSalt) - copy(dAtA[i:], m.BundleSalt) - i = encodeVarintTx(dAtA, i, uint64(len(m.BundleSalt))) - i-- - dAtA[i] = 0x42 + return out, nil +} + +// MsgServer is the server API for Msg service. +type MsgServer interface { + Stake(context.Context, *MsgStake) (*MsgStakeResponse, error) + Unstake(context.Context, *MsgUnstake) (*MsgUnstakeResponse, error) + CreateTransferOperation(context.Context, *MsgCreateTransferOp) (*MsgCreateTransferOpResponse, error) + CreateIdentityDefaultTransferOperation(context.Context, *MsgCreateIdentityDefaultTransferOp) (*MsgCreateIdentityDefaultTransferOpResponse, error) + CreateIdentityGISTTransferOperation(context.Context, *MsgCreateIdentityGISTTransferOp) (*MsgCreateIdentityGISTTransferOpResponse, error) + CreateIdentityStateTransferOperation(context.Context, *MsgCreateIdentityStateTransferOp) (*MsgCreateIdentityStateTransferOpResponse, error) + CreateWorldCoinIdentityTransferOperation(context.Context, *MsgCreateWorldCoinIdentityTransferOp) (*MsgCreateWorldCoinIdentityTransferOpResponse, error) + Vote(context.Context, *MsgVote) (*MsgVoteResponse, error) + Unjail(context.Context, *MsgUnjail) (*MsgUnjailResponse, error) +} + +// UnimplementedMsgServer can be embedded to have forward compatible implementations. +type UnimplementedMsgServer struct { +} + +func (*UnimplementedMsgServer) Stake(ctx context.Context, req *MsgStake) (*MsgStakeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Stake not implemented") +} +func (*UnimplementedMsgServer) Unstake(ctx context.Context, req *MsgUnstake) (*MsgUnstakeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Unstake not implemented") +} +func (*UnimplementedMsgServer) CreateTransferOperation(ctx context.Context, req *MsgCreateTransferOp) (*MsgCreateTransferOpResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateTransferOperation not implemented") +} +func (*UnimplementedMsgServer) CreateIdentityDefaultTransferOperation(ctx context.Context, req *MsgCreateIdentityDefaultTransferOp) (*MsgCreateIdentityDefaultTransferOpResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateIdentityDefaultTransferOperation not implemented") +} +func (*UnimplementedMsgServer) CreateIdentityGISTTransferOperation(ctx context.Context, req *MsgCreateIdentityGISTTransferOp) (*MsgCreateIdentityGISTTransferOpResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateIdentityGISTTransferOperation not implemented") +} +func (*UnimplementedMsgServer) CreateIdentityStateTransferOperation(ctx context.Context, req *MsgCreateIdentityStateTransferOp) (*MsgCreateIdentityStateTransferOpResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateIdentityStateTransferOperation not implemented") +} +func (*UnimplementedMsgServer) CreateWorldCoinIdentityTransferOperation(ctx context.Context, req *MsgCreateWorldCoinIdentityTransferOp) (*MsgCreateWorldCoinIdentityTransferOpResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateWorldCoinIdentityTransferOperation not implemented") +} +func (*UnimplementedMsgServer) Vote(ctx context.Context, req *MsgVote) (*MsgVoteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Vote not implemented") +} +func (*UnimplementedMsgServer) Unjail(ctx context.Context, req *MsgUnjail) (*MsgUnjailResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Unjail not implemented") +} + +func RegisterMsgServer(s grpc1.Server, srv MsgServer) { + s.RegisterService(&_Msg_serviceDesc, srv) +} + +func _Msg_Stake_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgStake) + if err := dec(in); err != nil { + return nil, err } - if len(m.BundleData) > 0 { - i -= len(m.BundleData) - copy(dAtA[i:], m.BundleData) - i = encodeVarintTx(dAtA, i, uint64(len(m.BundleData))) - i-- - dAtA[i] = 0x3a + if interceptor == nil { + return srv.(MsgServer).Stake(ctx, in) } - if len(m.Amount) > 0 { - i -= len(m.Amount) - copy(dAtA[i:], m.Amount) - i = encodeVarintTx(dAtA, i, uint64(len(m.Amount))) - i-- - dAtA[i] = 0x32 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/rarimo.rarimocore.oraclemanager.Msg/Stake", } - if len(m.Receiver) > 0 { - i -= len(m.Receiver) - copy(dAtA[i:], m.Receiver) - i = encodeVarintTx(dAtA, i, uint64(len(m.Receiver))) - i-- - dAtA[i] = 0x2a + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).Stake(ctx, req.(*MsgStake)) } - if len(m.Sender) > 0 { - i -= len(m.Sender) - copy(dAtA[i:], m.Sender) - i = encodeVarintTx(dAtA, i, uint64(len(m.Sender))) - i-- - dAtA[i] = 0x22 + return interceptor(ctx, in, info, handler) +} + +func _Msg_Unstake_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgUnstake) + if err := dec(in); err != nil { + return nil, err } - if len(m.EventId) > 0 { - i -= len(m.EventId) - copy(dAtA[i:], m.EventId) - i = encodeVarintTx(dAtA, i, uint64(len(m.EventId))) - i-- - dAtA[i] = 0x1a + if interceptor == nil { + return srv.(MsgServer).Unstake(ctx, in) } - if len(m.Tx) > 0 { - i -= len(m.Tx) - copy(dAtA[i:], m.Tx) - i = encodeVarintTx(dAtA, i, uint64(len(m.Tx))) - i-- - dAtA[i] = 0x12 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/rarimo.rarimocore.oraclemanager.Msg/Unstake", } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).Unstake(ctx, req.(*MsgUnstake)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *MsgCreateTransferOpResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_CreateTransferOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgCreateTransferOp) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).CreateTransferOperation(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/rarimo.rarimocore.oraclemanager.Msg/CreateTransferOperation", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).CreateTransferOperation(ctx, req.(*MsgCreateTransferOp)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCreateTransferOpResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_CreateIdentityDefaultTransferOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgCreateIdentityDefaultTransferOp) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).CreateIdentityDefaultTransferOperation(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/rarimo.rarimocore.oraclemanager.Msg/CreateIdentityDefaultTransferOperation", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).CreateIdentityDefaultTransferOperation(ctx, req.(*MsgCreateIdentityDefaultTransferOp)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCreateTransferOpResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func _Msg_CreateIdentityGISTTransferOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgCreateIdentityGISTTransferOp) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).CreateIdentityGISTTransferOperation(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/rarimo.rarimocore.oraclemanager.Msg/CreateIdentityGISTTransferOperation", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).CreateIdentityGISTTransferOperation(ctx, req.(*MsgCreateIdentityGISTTransferOp)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCreateIdentityDefaultTransferOp) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_CreateIdentityStateTransferOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgCreateIdentityStateTransferOp) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).CreateIdentityStateTransferOperation(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/rarimo.rarimocore.oraclemanager.Msg/CreateIdentityStateTransferOperation", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).CreateIdentityStateTransferOperation(ctx, req.(*MsgCreateIdentityStateTransferOp)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCreateIdentityDefaultTransferOp) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_CreateWorldCoinIdentityTransferOperation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgCreateWorldCoinIdentityTransferOp) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).CreateWorldCoinIdentityTransferOperation(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/rarimo.rarimocore.oraclemanager.Msg/CreateWorldCoinIdentityTransferOperation", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).CreateWorldCoinIdentityTransferOperation(ctx, req.(*MsgCreateWorldCoinIdentityTransferOp)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCreateIdentityDefaultTransferOp) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ReplacedGISTtHash) > 0 { - i -= len(m.ReplacedGISTtHash) - copy(dAtA[i:], m.ReplacedGISTtHash) - i = encodeVarintTx(dAtA, i, uint64(len(m.ReplacedGISTtHash))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x92 - } - if len(m.ReplacedStateHash) > 0 { - i -= len(m.ReplacedStateHash) - copy(dAtA[i:], m.ReplacedStateHash) - i = encodeVarintTx(dAtA, i, uint64(len(m.ReplacedStateHash))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x8a - } - if len(m.GISTCreatedAtBlock) > 0 { - i -= len(m.GISTCreatedAtBlock) - copy(dAtA[i:], m.GISTCreatedAtBlock) - i = encodeVarintTx(dAtA, i, uint64(len(m.GISTCreatedAtBlock))) - i-- - dAtA[i] = 0x72 - } - if len(m.GISTCreatedAtTimestamp) > 0 { - i -= len(m.GISTCreatedAtTimestamp) - copy(dAtA[i:], m.GISTCreatedAtTimestamp) - i = encodeVarintTx(dAtA, i, uint64(len(m.GISTCreatedAtTimestamp))) - i-- - dAtA[i] = 0x6a - } - if len(m.GISTReplacedBy) > 0 { - i -= len(m.GISTReplacedBy) - copy(dAtA[i:], m.GISTReplacedBy) - i = encodeVarintTx(dAtA, i, uint64(len(m.GISTReplacedBy))) - i-- - dAtA[i] = 0x62 - } - if len(m.StateReplacedBy) > 0 { - i -= len(m.StateReplacedBy) - copy(dAtA[i:], m.StateReplacedBy) - i = encodeVarintTx(dAtA, i, uint64(len(m.StateReplacedBy))) - i-- - dAtA[i] = 0x5a - } - if len(m.StateCreatedAtBlock) > 0 { - i -= len(m.StateCreatedAtBlock) - copy(dAtA[i:], m.StateCreatedAtBlock) - i = encodeVarintTx(dAtA, i, uint64(len(m.StateCreatedAtBlock))) - i-- - dAtA[i] = 0x42 - } - if len(m.StateCreatedAtTimestamp) > 0 { - i -= len(m.StateCreatedAtTimestamp) - copy(dAtA[i:], m.StateCreatedAtTimestamp) - i = encodeVarintTx(dAtA, i, uint64(len(m.StateCreatedAtTimestamp))) - i-- - dAtA[i] = 0x3a - } - if len(m.StateHash) > 0 { - i -= len(m.StateHash) - copy(dAtA[i:], m.StateHash) - i = encodeVarintTx(dAtA, i, uint64(len(m.StateHash))) - i-- - dAtA[i] = 0x32 - } - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintTx(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0x2a - } - if len(m.GISTHash) > 0 { - i -= len(m.GISTHash) - copy(dAtA[i:], m.GISTHash) - i = encodeVarintTx(dAtA, i, uint64(len(m.GISTHash))) - i-- - dAtA[i] = 0x22 +func _Msg_Vote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgVote) + if err := dec(in); err != nil { + return nil, err } - if len(m.Chain) > 0 { - i -= len(m.Chain) - copy(dAtA[i:], m.Chain) - i = encodeVarintTx(dAtA, i, uint64(len(m.Chain))) - i-- - dAtA[i] = 0x1a + if interceptor == nil { + return srv.(MsgServer).Vote(ctx, in) } - if len(m.Contract) > 0 { - i -= len(m.Contract) - copy(dAtA[i:], m.Contract) - i = encodeVarintTx(dAtA, i, uint64(len(m.Contract))) - i-- - dAtA[i] = 0x12 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/rarimo.rarimocore.oraclemanager.Msg/Vote", } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).Vote(ctx, req.(*MsgVote)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *MsgCreateIdentityDefaultTransferOpResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_Unjail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgUnjail) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgCreateIdentityDefaultTransferOpResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + if interceptor == nil { + return srv.(MsgServer).Unjail(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/rarimo.rarimocore.oraclemanager.Msg/Unjail", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).Unjail(ctx, req.(*MsgUnjail)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgCreateIdentityDefaultTransferOpResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +var _Msg_serviceDesc = grpc.ServiceDesc{ + ServiceName: "rarimo.rarimocore.oraclemanager.Msg", + HandlerType: (*MsgServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Stake", + Handler: _Msg_Stake_Handler, + }, + { + MethodName: "Unstake", + Handler: _Msg_Unstake_Handler, + }, + { + MethodName: "CreateTransferOperation", + Handler: _Msg_CreateTransferOperation_Handler, + }, + { + MethodName: "CreateIdentityDefaultTransferOperation", + Handler: _Msg_CreateIdentityDefaultTransferOperation_Handler, + }, + { + MethodName: "CreateIdentityGISTTransferOperation", + Handler: _Msg_CreateIdentityGISTTransferOperation_Handler, + }, + { + MethodName: "CreateIdentityStateTransferOperation", + Handler: _Msg_CreateIdentityStateTransferOperation_Handler, + }, + { + MethodName: "CreateWorldCoinIdentityTransferOperation", + Handler: _Msg_CreateWorldCoinIdentityTransferOperation_Handler, + }, + { + MethodName: "Vote", + Handler: _Msg_Vote_Handler, + }, + { + MethodName: "Unjail", + Handler: _Msg_Unjail_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "oraclemanager/tx.proto", } -func (m *MsgVote) Marshal() (dAtA []byte, err error) { +func (m *MsgStake) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1513,25 +1633,27 @@ func (m *MsgVote) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgVote) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgStake) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgVote) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgStake) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Vote != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.Vote)) + if len(m.From) > 0 { + i -= len(m.From) + copy(dAtA[i:], m.From) + i = encodeVarintTx(dAtA, i, uint64(len(m.From))) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x1a } - if len(m.Operation) > 0 { - i -= len(m.Operation) - copy(dAtA[i:], m.Operation) - i = encodeVarintTx(dAtA, i, uint64(len(m.Operation))) + if len(m.Amount) > 0 { + i -= len(m.Amount) + copy(dAtA[i:], m.Amount) + i = encodeVarintTx(dAtA, i, uint64(len(m.Amount))) i-- dAtA[i] = 0x12 } @@ -1550,7 +1672,7 @@ func (m *MsgVote) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgVoteResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgStakeResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1560,12 +1682,12 @@ func (m *MsgVoteResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgVoteResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgStakeResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgVoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgStakeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1573,7 +1695,7 @@ func (m *MsgVoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgUnjail) Marshal() (dAtA []byte, err error) { +func (m *MsgUnstake) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1583,16 +1705,23 @@ func (m *MsgUnjail) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgUnjail) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgUnstake) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgUnjail) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgUnstake) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if len(m.Sender) > 0 { + i -= len(m.Sender) + copy(dAtA[i:], m.Sender) + i = encodeVarintTx(dAtA, i, uint64(len(m.Sender))) + i-- + dAtA[i] = 0x12 + } if m.Index != nil { { size, err := m.Index.MarshalToSizedBuffer(dAtA[:i]) @@ -1608,7 +1737,7 @@ func (m *MsgUnjail) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgUnjailResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgUnstakeResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1618,12 +1747,12 @@ func (m *MsgUnjailResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgUnjailResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgUnstakeResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgUnjailResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgUnstakeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1631,263 +1760,1932 @@ func (m *MsgUnjailResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func encodeVarintTx(dAtA []byte, offset int, v uint64) int { - offset -= sovTx(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (m *MsgCreateTransferOp) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - dAtA[offset] = uint8(v) - return base + return dAtA[:n], nil } -func (m *MsgStake) Size() (n int) { - if m == nil { - return 0 - } + +func (m *MsgCreateTransferOp) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCreateTransferOp) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Index != nil { - l = m.Index.Size() - n += 1 + l + sovTx(uint64(l)) + if m.Meta != nil { + { + size, err := m.Meta.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x5a } - l = len(m.Amount) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + { + size, err := m.To.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) } - l = len(m.From) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + i-- + dAtA[i] = 0x52 + { + size, err := m.From.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) } - return n -} - -func (m *MsgStakeResponse) Size() (n int) { - if m == nil { - return 0 + i-- + dAtA[i] = 0x4a + if len(m.BundleSalt) > 0 { + i -= len(m.BundleSalt) + copy(dAtA[i:], m.BundleSalt) + i = encodeVarintTx(dAtA, i, uint64(len(m.BundleSalt))) + i-- + dAtA[i] = 0x42 } - var l int - _ = l - return n -} - -func (m *MsgUnstake) Size() (n int) { - if m == nil { - return 0 + if len(m.BundleData) > 0 { + i -= len(m.BundleData) + copy(dAtA[i:], m.BundleData) + i = encodeVarintTx(dAtA, i, uint64(len(m.BundleData))) + i-- + dAtA[i] = 0x3a } - var l int - _ = l - if m.Index != nil { - l = m.Index.Size() - n += 1 + l + sovTx(uint64(l)) + if len(m.Amount) > 0 { + i -= len(m.Amount) + copy(dAtA[i:], m.Amount) + i = encodeVarintTx(dAtA, i, uint64(len(m.Amount))) + i-- + dAtA[i] = 0x32 } - l = len(m.Sender) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.Receiver) > 0 { + i -= len(m.Receiver) + copy(dAtA[i:], m.Receiver) + i = encodeVarintTx(dAtA, i, uint64(len(m.Receiver))) + i-- + dAtA[i] = 0x2a } - return n + if len(m.Sender) > 0 { + i -= len(m.Sender) + copy(dAtA[i:], m.Sender) + i = encodeVarintTx(dAtA, i, uint64(len(m.Sender))) + i-- + dAtA[i] = 0x22 + } + if len(m.EventId) > 0 { + i -= len(m.EventId) + copy(dAtA[i:], m.EventId) + i = encodeVarintTx(dAtA, i, uint64(len(m.EventId))) + i-- + dAtA[i] = 0x1a + } + if len(m.Tx) > 0 { + i -= len(m.Tx) + copy(dAtA[i:], m.Tx) + i = encodeVarintTx(dAtA, i, uint64(len(m.Tx))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *MsgUnstakeResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgCreateTransferOpResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *MsgCreateTransferOpResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCreateTransferOpResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *MsgCreateTransferOp) Size() (n int) { - if m == nil { - return 0 +func (m *MsgCreateIdentityDefaultTransferOp) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *MsgCreateIdentityDefaultTransferOp) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCreateIdentityDefaultTransferOp) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.ReplacedGISTtHash) > 0 { + i -= len(m.ReplacedGISTtHash) + copy(dAtA[i:], m.ReplacedGISTtHash) + i = encodeVarintTx(dAtA, i, uint64(len(m.ReplacedGISTtHash))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 } - l = len(m.Tx) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.ReplacedStateHash) > 0 { + i -= len(m.ReplacedStateHash) + copy(dAtA[i:], m.ReplacedStateHash) + i = encodeVarintTx(dAtA, i, uint64(len(m.ReplacedStateHash))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a } - l = len(m.EventId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.GISTCreatedAtBlock) > 0 { + i -= len(m.GISTCreatedAtBlock) + copy(dAtA[i:], m.GISTCreatedAtBlock) + i = encodeVarintTx(dAtA, i, uint64(len(m.GISTCreatedAtBlock))) + i-- + dAtA[i] = 0x72 } - l = len(m.Sender) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.GISTCreatedAtTimestamp) > 0 { + i -= len(m.GISTCreatedAtTimestamp) + copy(dAtA[i:], m.GISTCreatedAtTimestamp) + i = encodeVarintTx(dAtA, i, uint64(len(m.GISTCreatedAtTimestamp))) + i-- + dAtA[i] = 0x6a } - l = len(m.Receiver) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.GISTReplacedBy) > 0 { + i -= len(m.GISTReplacedBy) + copy(dAtA[i:], m.GISTReplacedBy) + i = encodeVarintTx(dAtA, i, uint64(len(m.GISTReplacedBy))) + i-- + dAtA[i] = 0x62 } - l = len(m.Amount) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.StateReplacedBy) > 0 { + i -= len(m.StateReplacedBy) + copy(dAtA[i:], m.StateReplacedBy) + i = encodeVarintTx(dAtA, i, uint64(len(m.StateReplacedBy))) + i-- + dAtA[i] = 0x5a } - l = len(m.BundleData) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.StateCreatedAtBlock) > 0 { + i -= len(m.StateCreatedAtBlock) + copy(dAtA[i:], m.StateCreatedAtBlock) + i = encodeVarintTx(dAtA, i, uint64(len(m.StateCreatedAtBlock))) + i-- + dAtA[i] = 0x42 } - l = len(m.BundleSalt) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.StateCreatedAtTimestamp) > 0 { + i -= len(m.StateCreatedAtTimestamp) + copy(dAtA[i:], m.StateCreatedAtTimestamp) + i = encodeVarintTx(dAtA, i, uint64(len(m.StateCreatedAtTimestamp))) + i-- + dAtA[i] = 0x3a } - l = m.From.Size() - n += 1 + l + sovTx(uint64(l)) - l = m.To.Size() - n += 1 + l + sovTx(uint64(l)) - if m.Meta != nil { - l = m.Meta.Size() - n += 1 + l + sovTx(uint64(l)) + if len(m.StateHash) > 0 { + i -= len(m.StateHash) + copy(dAtA[i:], m.StateHash) + i = encodeVarintTx(dAtA, i, uint64(len(m.StateHash))) + i-- + dAtA[i] = 0x32 } - return n -} - -func (m *MsgCreateTransferOpResponse) Size() (n int) { - if m == nil { - return 0 + if len(m.Id) > 0 { + i -= len(m.Id) + copy(dAtA[i:], m.Id) + i = encodeVarintTx(dAtA, i, uint64(len(m.Id))) + i-- + dAtA[i] = 0x2a } - var l int - _ = l - return n -} - -func (m *MsgCreateIdentityDefaultTransferOp) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Contract) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Chain) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.GISTHash) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Id) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.StateHash) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.StateCreatedAtTimestamp) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.StateCreatedAtBlock) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.StateReplacedBy) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.GISTReplacedBy) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.GISTCreatedAtTimestamp) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.GISTHash) > 0 { + i -= len(m.GISTHash) + copy(dAtA[i:], m.GISTHash) + i = encodeVarintTx(dAtA, i, uint64(len(m.GISTHash))) + i-- + dAtA[i] = 0x22 } - l = len(m.GISTCreatedAtBlock) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.Chain) > 0 { + i -= len(m.Chain) + copy(dAtA[i:], m.Chain) + i = encodeVarintTx(dAtA, i, uint64(len(m.Chain))) + i-- + dAtA[i] = 0x1a } - l = len(m.ReplacedStateHash) - if l > 0 { - n += 2 + l + sovTx(uint64(l)) + if len(m.Contract) > 0 { + i -= len(m.Contract) + copy(dAtA[i:], m.Contract) + i = encodeVarintTx(dAtA, i, uint64(len(m.Contract))) + i-- + dAtA[i] = 0x12 } - l = len(m.ReplacedGISTtHash) - if l > 0 { - n += 2 + l + sovTx(uint64(l)) + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *MsgCreateIdentityDefaultTransferOpResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgCreateIdentityDefaultTransferOpResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *MsgCreateIdentityDefaultTransferOpResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCreateIdentityDefaultTransferOpResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *MsgVote) Size() (n int) { - if m == nil { - return 0 +func (m *MsgCreateIdentityGISTTransferOp) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *MsgCreateIdentityGISTTransferOp) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCreateIdentityGISTTransferOp) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Index != nil { - l = m.Index.Size() - n += 1 + l + sovTx(uint64(l)) + if len(m.ReplacedGISTtHash) > 0 { + i -= len(m.ReplacedGISTtHash) + copy(dAtA[i:], m.ReplacedGISTtHash) + i = encodeVarintTx(dAtA, i, uint64(len(m.ReplacedGISTtHash))) + i-- + dAtA[i] = 0x3a } - l = len(m.Operation) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.GISTCreatedAtBlock) > 0 { + i -= len(m.GISTCreatedAtBlock) + copy(dAtA[i:], m.GISTCreatedAtBlock) + i = encodeVarintTx(dAtA, i, uint64(len(m.GISTCreatedAtBlock))) + i-- + dAtA[i] = 0x32 } - if m.Vote != 0 { - n += 1 + sovTx(uint64(m.Vote)) + if len(m.GISTCreatedAtTimestamp) > 0 { + i -= len(m.GISTCreatedAtTimestamp) + copy(dAtA[i:], m.GISTCreatedAtTimestamp) + i = encodeVarintTx(dAtA, i, uint64(len(m.GISTCreatedAtTimestamp))) + i-- + dAtA[i] = 0x2a } - return n + if len(m.GISTHash) > 0 { + i -= len(m.GISTHash) + copy(dAtA[i:], m.GISTHash) + i = encodeVarintTx(dAtA, i, uint64(len(m.GISTHash))) + i-- + dAtA[i] = 0x22 + } + if len(m.Chain) > 0 { + i -= len(m.Chain) + copy(dAtA[i:], m.Chain) + i = encodeVarintTx(dAtA, i, uint64(len(m.Chain))) + i-- + dAtA[i] = 0x1a + } + if len(m.Contract) > 0 { + i -= len(m.Contract) + copy(dAtA[i:], m.Contract) + i = encodeVarintTx(dAtA, i, uint64(len(m.Contract))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *MsgVoteResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgCreateIdentityGISTTransferOpResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *MsgUnjail) Size() (n int) { - if m == nil { - return 0 - } +func (m *MsgCreateIdentityGISTTransferOpResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCreateIdentityGISTTransferOpResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Index != nil { - l = m.Index.Size() - n += 1 + l + sovTx(uint64(l)) - } - return n + return len(dAtA) - i, nil } -func (m *MsgUnjailResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgCreateIdentityStateTransferOp) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func sovTx(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 +func (m *MsgCreateIdentityStateTransferOp) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func sozTx(x uint64) (n int) { - return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) + +func (m *MsgCreateIdentityStateTransferOp) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.ReplacedStateHash) > 0 { + i -= len(m.ReplacedStateHash) + copy(dAtA[i:], m.ReplacedStateHash) + i = encodeVarintTx(dAtA, i, uint64(len(m.ReplacedStateHash))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a + } + if len(m.StateCreatedAtBlock) > 0 { + i -= len(m.StateCreatedAtBlock) + copy(dAtA[i:], m.StateCreatedAtBlock) + i = encodeVarintTx(dAtA, i, uint64(len(m.StateCreatedAtBlock))) + i-- + dAtA[i] = 0x42 + } + if len(m.StateCreatedAtTimestamp) > 0 { + i -= len(m.StateCreatedAtTimestamp) + copy(dAtA[i:], m.StateCreatedAtTimestamp) + i = encodeVarintTx(dAtA, i, uint64(len(m.StateCreatedAtTimestamp))) + i-- + dAtA[i] = 0x3a + } + if len(m.StateHash) > 0 { + i -= len(m.StateHash) + copy(dAtA[i:], m.StateHash) + i = encodeVarintTx(dAtA, i, uint64(len(m.StateHash))) + i-- + dAtA[i] = 0x32 + } + if len(m.Id) > 0 { + i -= len(m.Id) + copy(dAtA[i:], m.Id) + i = encodeVarintTx(dAtA, i, uint64(len(m.Id))) + i-- + dAtA[i] = 0x2a + } + if len(m.Chain) > 0 { + i -= len(m.Chain) + copy(dAtA[i:], m.Chain) + i = encodeVarintTx(dAtA, i, uint64(len(m.Chain))) + i-- + dAtA[i] = 0x1a + } + if len(m.Contract) > 0 { + i -= len(m.Contract) + copy(dAtA[i:], m.Contract) + i = encodeVarintTx(dAtA, i, uint64(len(m.Contract))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgCreateIdentityStateTransferOpResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgCreateIdentityStateTransferOpResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCreateIdentityStateTransferOpResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgCreateWorldCoinIdentityTransferOp) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgCreateWorldCoinIdentityTransferOp) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCreateWorldCoinIdentityTransferOp) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.BlockNumber != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.BlockNumber)) + i-- + dAtA[i] = 0x38 + } + if len(m.Timestamp) > 0 { + i -= len(m.Timestamp) + copy(dAtA[i:], m.Timestamp) + i = encodeVarintTx(dAtA, i, uint64(len(m.Timestamp))) + i-- + dAtA[i] = 0x32 + } + if len(m.State) > 0 { + i -= len(m.State) + copy(dAtA[i:], m.State) + i = encodeVarintTx(dAtA, i, uint64(len(m.State))) + i-- + dAtA[i] = 0x2a + } + if len(m.PrevState) > 0 { + i -= len(m.PrevState) + copy(dAtA[i:], m.PrevState) + i = encodeVarintTx(dAtA, i, uint64(len(m.PrevState))) + i-- + dAtA[i] = 0x22 + } + if len(m.Chain) > 0 { + i -= len(m.Chain) + copy(dAtA[i:], m.Chain) + i = encodeVarintTx(dAtA, i, uint64(len(m.Chain))) + i-- + dAtA[i] = 0x1a + } + if len(m.Contract) > 0 { + i -= len(m.Contract) + copy(dAtA[i:], m.Contract) + i = encodeVarintTx(dAtA, i, uint64(len(m.Contract))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgCreateWorldCoinIdentityTransferOpResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgCreateWorldCoinIdentityTransferOpResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCreateWorldCoinIdentityTransferOpResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgVote) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgVote) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgVote) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Vote != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Vote)) + i-- + dAtA[i] = 0x18 + } + if len(m.Operation) > 0 { + i -= len(m.Operation) + copy(dAtA[i:], m.Operation) + i = encodeVarintTx(dAtA, i, uint64(len(m.Operation))) + i-- + dAtA[i] = 0x12 + } + if m.Index != nil { + { + size, err := m.Index.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgVoteResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgVoteResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgVoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgUnjail) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUnjail) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUnjail) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Index != nil { + { + size, err := m.Index.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgUnjailResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUnjailResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUnjailResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func encodeVarintTx(dAtA []byte, offset int, v uint64) int { + offset -= sovTx(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *MsgStake) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Index != nil { + l = m.Index.Size() + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Amount) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.From) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgStakeResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgUnstake) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Index != nil { + l = m.Index.Size() + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Sender) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgUnstakeResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgCreateTransferOp) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Tx) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.EventId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Sender) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Receiver) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Amount) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.BundleData) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.BundleSalt) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.From.Size() + n += 1 + l + sovTx(uint64(l)) + l = m.To.Size() + n += 1 + l + sovTx(uint64(l)) + if m.Meta != nil { + l = m.Meta.Size() + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgCreateTransferOpResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgCreateIdentityDefaultTransferOp) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Contract) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Chain) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.GISTHash) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Id) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.StateHash) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.StateCreatedAtTimestamp) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.StateCreatedAtBlock) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.StateReplacedBy) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.GISTReplacedBy) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.GISTCreatedAtTimestamp) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.GISTCreatedAtBlock) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.ReplacedStateHash) + if l > 0 { + n += 2 + l + sovTx(uint64(l)) + } + l = len(m.ReplacedGISTtHash) + if l > 0 { + n += 2 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgCreateIdentityDefaultTransferOpResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgCreateIdentityGISTTransferOp) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Contract) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Chain) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.GISTHash) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.GISTCreatedAtTimestamp) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.GISTCreatedAtBlock) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.ReplacedGISTtHash) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgCreateIdentityGISTTransferOpResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgCreateIdentityStateTransferOp) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Contract) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Chain) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Id) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.StateHash) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.StateCreatedAtTimestamp) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.StateCreatedAtBlock) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.ReplacedStateHash) + if l > 0 { + n += 2 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgCreateIdentityStateTransferOpResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgCreateWorldCoinIdentityTransferOp) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Contract) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Chain) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.PrevState) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.State) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Timestamp) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.BlockNumber != 0 { + n += 1 + sovTx(uint64(m.BlockNumber)) + } + return n +} + +func (m *MsgCreateWorldCoinIdentityTransferOpResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgVote) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Index != nil { + l = m.Index.Size() + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Operation) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.Vote != 0 { + n += 1 + sovTx(uint64(m.Vote)) + } + return n +} + +func (m *MsgVoteResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgUnjail) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Index != nil { + l = m.Index.Size() + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgUnjailResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func sovTx(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozTx(x uint64) (n int) { + return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *MsgStake) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgStake: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgStake: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Index == nil { + m.Index = &OracleIndex{} + } + if err := m.Index.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Amount = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field From", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.From = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgStakeResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgStakeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgStakeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUnstake) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUnstake: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUnstake: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Index == nil { + m.Index = &OracleIndex{} + } + if err := m.Index.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUnstakeResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUnstakeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUnstakeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgCreateTransferOp) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCreateTransferOp: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCreateTransferOp: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tx", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tx = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EventId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.EventId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Receiver", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Receiver = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Amount = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BundleData", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BundleData = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BundleSalt", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BundleSalt = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field From", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.From.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field To", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.To.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Meta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Meta == nil { + m.Meta = &types.ItemMetadata{} + } + if err := m.Meta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgCreateTransferOpResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCreateTransferOpResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCreateTransferOpResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil } -func (m *MsgStake) Unmarshal(dAtA []byte) error { +func (m *MsgCreateIdentityDefaultTransferOp) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -1910,17 +3708,17 @@ func (m *MsgStake) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgStake: wiretype end group for non-group") + return fmt.Errorf("proto: MsgCreateIdentityDefaultTransferOp: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgStake: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgCreateIdentityDefaultTransferOp: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -1930,31 +3728,27 @@ func (m *MsgStake) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Index == nil { - m.Index = &OracleIndex{} - } - if err := m.Index.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Contract", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1982,11 +3776,11 @@ func (m *MsgStake) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Amount = string(dAtA[iNdEx:postIndex]) + m.Contract = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field From", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Chain", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2014,113 +3808,173 @@ func (m *MsgStake) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.From = string(dAtA[iNdEx:postIndex]) + m.Chain = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GISTHash", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthTx } - if (iNdEx + skippy) > l { + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { return io.ErrUnexpectedEOF } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgStakeResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx + m.GISTHash = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) } - if iNdEx >= l { + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + m.Id = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StateHash", wireType) } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgStakeResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgStakeResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - if (skippy < 0) || (iNdEx+skippy) < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthTx } - if (iNdEx + skippy) > l { + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { return io.ErrUnexpectedEOF } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgUnstake) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx + m.StateHash = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StateCreatedAtTimestamp", wireType) } - if iNdEx >= l { + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + m.StateCreatedAtTimestamp = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StateCreatedAtBlock", wireType) } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgUnstake: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUnstake: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.StateCreatedAtBlock = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 11: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StateReplacedBy", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -2130,31 +3984,27 @@ func (m *MsgUnstake) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Index == nil { - m.Index = &OracleIndex{} - } - if err := m.Index.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.StateReplacedBy = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 12: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GISTReplacedBy", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2182,111 +4032,11 @@ func (m *MsgUnstake) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Sender = string(dAtA[iNdEx:postIndex]) + m.GISTReplacedBy = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgUnstakeResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgUnstakeResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUnstakeResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgCreateTransferOp) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgCreateTransferOp: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCreateTransferOp: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 13: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GISTCreatedAtTimestamp", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2314,11 +4064,11 @@ func (m *MsgCreateTransferOp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Creator = string(dAtA[iNdEx:postIndex]) + m.GISTCreatedAtTimestamp = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 14: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tx", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GISTCreatedAtBlock", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2346,11 +4096,11 @@ func (m *MsgCreateTransferOp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Tx = string(dAtA[iNdEx:postIndex]) + m.GISTCreatedAtBlock = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 17: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EventId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ReplacedStateHash", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2378,11 +4128,11 @@ func (m *MsgCreateTransferOp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.EventId = string(dAtA[iNdEx:postIndex]) + m.ReplacedStateHash = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 18: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ReplacedGISTtHash", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2410,11 +4160,111 @@ func (m *MsgCreateTransferOp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Sender = string(dAtA[iNdEx:postIndex]) + m.ReplacedGISTtHash = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgCreateIdentityDefaultTransferOpResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCreateIdentityDefaultTransferOpResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCreateIdentityDefaultTransferOpResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgCreateIdentityGISTTransferOp) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCreateIdentityGISTTransferOp: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCreateIdentityGISTTransferOp: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Receiver", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2442,11 +4292,11 @@ func (m *MsgCreateTransferOp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Receiver = string(dAtA[iNdEx:postIndex]) + m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 6: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Contract", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2474,11 +4324,11 @@ func (m *MsgCreateTransferOp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Amount = string(dAtA[iNdEx:postIndex]) + m.Contract = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 7: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BundleData", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Chain", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2506,11 +4356,11 @@ func (m *MsgCreateTransferOp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.BundleData = string(dAtA[iNdEx:postIndex]) + m.Chain = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 8: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BundleSalt", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GISTHash", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2538,13 +4388,13 @@ func (m *MsgCreateTransferOp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.BundleSalt = string(dAtA[iNdEx:postIndex]) + m.GISTHash = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 9: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field From", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GISTCreatedAtTimestamp", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -2554,30 +4404,29 @@ func (m *MsgCreateTransferOp) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.From.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.GISTCreatedAtTimestamp = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 10: + case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field To", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GISTCreatedAtBlock", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -2587,30 +4436,29 @@ func (m *MsgCreateTransferOp) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.To.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.GISTCreatedAtBlock = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 11: + case 7: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Meta", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ReplacedGISTtHash", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -2620,27 +4468,23 @@ func (m *MsgCreateTransferOp) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Meta == nil { - m.Meta = &types.ItemMetadata{} - } - if err := m.Meta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ReplacedGISTtHash = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -2663,7 +4507,7 @@ func (m *MsgCreateTransferOp) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCreateTransferOpResponse) Unmarshal(dAtA []byte) error { +func (m *MsgCreateIdentityGISTTransferOpResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2686,10 +4530,10 @@ func (m *MsgCreateTransferOpResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCreateTransferOpResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgCreateIdentityGISTTransferOpResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCreateTransferOpResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgCreateIdentityGISTTransferOpResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -2713,7 +4557,7 @@ func (m *MsgCreateTransferOpResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCreateIdentityDefaultTransferOp) Unmarshal(dAtA []byte) error { +func (m *MsgCreateIdentityStateTransferOp) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2736,10 +4580,10 @@ func (m *MsgCreateIdentityDefaultTransferOp) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCreateIdentityDefaultTransferOp: wiretype end group for non-group") + return fmt.Errorf("proto: MsgCreateIdentityStateTransferOp: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCreateIdentityDefaultTransferOp: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgCreateIdentityStateTransferOp: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -2838,9 +4682,9 @@ func (m *MsgCreateIdentityDefaultTransferOp) Unmarshal(dAtA []byte) error { } m.Chain = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GISTHash", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2868,11 +4712,11 @@ func (m *MsgCreateIdentityDefaultTransferOp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GISTHash = string(dAtA[iNdEx:postIndex]) + m.Id = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: + case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StateHash", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2900,11 +4744,11 @@ func (m *MsgCreateIdentityDefaultTransferOp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Id = string(dAtA[iNdEx:postIndex]) + m.StateHash = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 6: + case 7: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateHash", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StateCreatedAtTimestamp", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2932,11 +4776,11 @@ func (m *MsgCreateIdentityDefaultTransferOp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.StateHash = string(dAtA[iNdEx:postIndex]) + m.StateCreatedAtTimestamp = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 7: + case 8: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateCreatedAtTimestamp", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StateCreatedAtBlock", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2964,11 +4808,11 @@ func (m *MsgCreateIdentityDefaultTransferOp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.StateCreatedAtTimestamp = string(dAtA[iNdEx:postIndex]) + m.StateCreatedAtBlock = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 8: + case 17: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateCreatedAtBlock", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ReplacedStateHash", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2996,11 +4840,111 @@ func (m *MsgCreateIdentityDefaultTransferOp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.StateCreatedAtBlock = string(dAtA[iNdEx:postIndex]) + m.ReplacedStateHash = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 11: + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgCreateIdentityStateTransferOpResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCreateIdentityStateTransferOpResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCreateIdentityStateTransferOpResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgCreateWorldCoinIdentityTransferOp) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCreateWorldCoinIdentityTransferOp: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCreateWorldCoinIdentityTransferOp: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StateReplacedBy", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3028,11 +4972,11 @@ func (m *MsgCreateIdentityDefaultTransferOp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.StateReplacedBy = string(dAtA[iNdEx:postIndex]) + m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 12: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GISTReplacedBy", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Contract", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3060,11 +5004,11 @@ func (m *MsgCreateIdentityDefaultTransferOp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GISTReplacedBy = string(dAtA[iNdEx:postIndex]) + m.Contract = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 13: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GISTCreatedAtTimestamp", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Chain", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3092,11 +5036,11 @@ func (m *MsgCreateIdentityDefaultTransferOp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GISTCreatedAtTimestamp = string(dAtA[iNdEx:postIndex]) + m.Chain = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 14: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GISTCreatedAtBlock", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PrevState", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3124,11 +5068,11 @@ func (m *MsgCreateIdentityDefaultTransferOp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GISTCreatedAtBlock = string(dAtA[iNdEx:postIndex]) + m.PrevState = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 17: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplacedStateHash", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3156,11 +5100,11 @@ func (m *MsgCreateIdentityDefaultTransferOp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ReplacedStateHash = string(dAtA[iNdEx:postIndex]) + m.State = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 18: + case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplacedGISTtHash", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3188,8 +5132,27 @@ func (m *MsgCreateIdentityDefaultTransferOp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ReplacedGISTtHash = string(dAtA[iNdEx:postIndex]) + m.Timestamp = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BlockNumber", wireType) + } + m.BlockNumber = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.BlockNumber |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -3211,7 +5174,7 @@ func (m *MsgCreateIdentityDefaultTransferOp) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCreateIdentityDefaultTransferOpResponse) Unmarshal(dAtA []byte) error { +func (m *MsgCreateWorldCoinIdentityTransferOpResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3234,10 +5197,10 @@ func (m *MsgCreateIdentityDefaultTransferOpResponse) Unmarshal(dAtA []byte) erro fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCreateIdentityDefaultTransferOpResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgCreateWorldCoinIdentityTransferOpResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCreateIdentityDefaultTransferOpResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgCreateWorldCoinIdentityTransferOpResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: diff --git a/x/rarimocore/README.md b/x/rarimocore/README.md index 700f6d09..97e006bf 100644 --- a/x/rarimocore/README.md +++ b/x/rarimocore/README.md @@ -1,16 +1,24 @@ +--- +layout: default +title: x/rarimocore +--- + # `x/rarimocore` ## Abstract -The `rarimocore` cosmos module contains logic for all cross-chain operations, its votes, confirmations and signers management. +The `rarimocore` cosmos module contains logic for all cross-chain operations, its votes, confirmations and signers +management. -You can explore the messages and RPC server definition of the `rarimocore` module in the `rarimo-core/proto/rarimocore` package. +You can explore the messages and RPC server definition of the `rarimocore` module in the `rarimo-core/proto/rarimocore` +package. ---- ## Concepts The main flow consists of three steps: + 1. Any of Oracles creates the operation on the core 2. Oracles vote for the operation correctness, and after that operation defined as approved/not approved. 3. Signature producers sign the operation @@ -20,14 +28,19 @@ Also, the shorter flow can exist: when operation is created by governance or mod In such case operation can be already approved. ### Operation indexes + - Transfer operation: `HASH(tx, event, chain)` - Change parties: `HASH(new set, new key, signature)` - Fee contract management: `HASH(block height, chain, fee token contract, fee amount)` - Contract upgrade: `HASH(block, content [depends on chain])` -- Identity transfer: `HASH(source contract, id, state hash, state timestamps, GIST hash, GIST timestamps, replaced state hash)` +- Identity default + transfer: `HASH(source contract, id, state hash, state timestamps, state replaced by, GIST hash, GIST replaced by, GIST timestamps, replaced state hash, replaced GIST hash)` +- Identity state transfer: `HASH(source contract, id, state hash, state timestamps, replaced state hash)` +- Identity GIST transfer: `HASH(source contract, id, GIST hash, GIST timestamps, replaced GIST hash)` - Identity aggregated transfer: `HASH(GIST, timestamp, states root, contract address, chain)` +- WorldCoin identity transfer: `HASH(source contract, old state, new state, timestamp)` -To add new operation check the following [manual](../../docs/common/core/001-adding-operation.md). +To add new operation check the following [manual](../../docs/common/core/001-adding-operation.md). ---- @@ -39,261 +52,262 @@ To add new operation check the following [manual](../../docs/common/core/001-add Note that public keys (parties and global) should be in uncompressed form without leading 0x04 (64 bytes format). Definition: - ```protobuf - enum PartyStatus { - Active = 0; - Frozen = 1; - Slashed = 2; - Inactive = 3; - } - - message Party { - // PublicKey in hex format - string pubKey = 1; - // Server address connect to - string address = 2; - // Rarimo core account - string account = 3; - PartyStatus status = 4; - uint64 violationsCount = 5; - uint64 freezeEndBlock = 6; - string delegator = 7; - // service information used in initial setup - string committedGlobalPublicKey = 8; - } - - // Params defines the parameters for the module. - message Params { - string keyECDSA = 1; - uint64 threshold = 2; - repeated Party parties = 3; - bool isUpdateRequired = 5; - string lastSignature = 6; - string stakeAmount = 7; - string stakeDenom = 8; - uint64 maxViolationsCount = 9; - uint64 freezeBlocksPeriod = 10; - } - ``` - -
- Example - - ```json + +```protobuf +enum PartyStatus { + Active = 0; + Frozen = 1; + Slashed = 2; + Inactive = 3; +} + +message Party { + // PublicKey in hex format + string pubKey = 1; + // Server address connect to + string address = 2; + // Rarimo core account + string account = 3; + PartyStatus status = 4; + uint64 violationsCount = 5; + uint64 freezeEndBlock = 6; + string delegator = 7; + // service information used in initial setup + string committedGlobalPublicKey = 8; +} + +// Params defines the parameters for the module. +message Params { + string keyECDSA = 1; + uint64 threshold = 2; + repeated Party parties = 3; + bool isUpdateRequired = 5; + string lastSignature = 6; + string stakeAmount = 7; + string stakeDenom = 8; + uint64 maxViolationsCount = 9; + uint64 freezeBlocksPeriod = 10; +} +``` + +Example: + +```json +{ + "keyECDSA": "0x928d7a512b18fcbfd51c1b050e2d498f962e2c244bb7495e253731cddcfd164ef32c213e3b4fd4185d1de33dd596061473392aa73b532906e553e543801c0f3a", + "threshold": "2", + "parties": [ { - "keyECDSA": "0x928d7a512b18fcbfd51c1b050e2d498f962e2c244bb7495e253731cddcfd164ef32c213e3b4fd4185d1de33dd596061473392aa73b532906e553e543801c0f3a", - "threshold": "2", - "parties": [ - { - "pubKey": "0xb7e8d31ac044cae1ae0ad6f440c25bdf313828b3dd048bc290a8f839c41dd62b50f50693ac4c36ffea12b43e4b59c694a69f2e25a3a4b3135a444df6b5dd6423", - "address": "tss-1:9000", - "account": "rarimo1l2vdscjfm289mdxnlnvfwscku4w2l3ljt97kdq", - "status": "ACTIVE", - "violationsCount": 0, - "freezeEndBlock": 0, - "delegator": "", - "committedGlobalPublicKey": "", - }, - { - "pubKey": "0x4b5139cecb56617c32133885bc7b93da9900e3bf6e5e6d7ce012780f668f1379f5f2fe1a9b40a36421104b6873c53f353aaaa1a696c19099022c290cbc6c8b89", - "address": "tss-2:9000", - "account": "rarimo1cqtx4qdtdemula69hpv9ksvg769u0tujgqqyhc", - "status": "ACTIVE", - "violationsCount": 0, - "freezeEndBlock": 0, - "delegator": "", - "committedGlobalPublicKey": "", - }, - { - "pubKey": "0xc674cc7a7ec0ceacc7723e7a807c09ffe44b84bbb45de1c586dbc3fcc3724c71bbd9dba4fcf977772128f9e8c4b2f6b345f3d8ad944e853dc352a6eb343d1775", - "address": "tss-3:9000", - "account": "rarimo13xrlm9cg8ugp327qr0a4k2r9fvkqrsvtm9pcsn", - "status": "ACTIVE", - "violationsCount": 0, - "freezeEndBlock": 0, - "delegator": "", - "committedGlobalPublicKey": "", - } - ], - "isUpdateRequired": false, - "lastSignature": "0x00", - "stakeAmount": "1000000", - "stakeDenom": "stake", - "maxViolationsCount": 10, - "freezeBlocksPeriod": 100, + "pubKey": "0xb7e8d31ac044cae1ae0ad6f440c25bdf313828b3dd048bc290a8f839c41dd62b50f50693ac4c36ffea12b43e4b59c694a69f2e25a3a4b3135a444df6b5dd6423", + "address": "tss-1:9000", + "account": "rarimo1l2vdscjfm289mdxnlnvfwscku4w2l3ljt97kdq", + "status": "ACTIVE", + "violationsCount": 0, + "freezeEndBlock": 0, + "delegator": "", + "committedGlobalPublicKey": "" + }, + { + "pubKey": "0x4b5139cecb56617c32133885bc7b93da9900e3bf6e5e6d7ce012780f668f1379f5f2fe1a9b40a36421104b6873c53f353aaaa1a696c19099022c290cbc6c8b89", + "address": "tss-2:9000", + "account": "rarimo1cqtx4qdtdemula69hpv9ksvg769u0tujgqqyhc", + "status": "ACTIVE", + "violationsCount": 0, + "freezeEndBlock": 0, + "delegator": "", + "committedGlobalPublicKey": "" + }, + { + "pubKey": "0xc674cc7a7ec0ceacc7723e7a807c09ffe44b84bbb45de1c586dbc3fcc3724c71bbd9dba4fcf977772128f9e8c4b2f6b345f3d8ad944e853dc352a6eb343d1775", + "address": "tss-3:9000", + "account": "rarimo13xrlm9cg8ugp327qr0a4k2r9fvkqrsvtm9pcsn", + "status": "ACTIVE", + "violationsCount": 0, + "freezeEndBlock": 0, + "delegator": "", + "committedGlobalPublicKey": "" } - ``` -
+ ], + "isUpdateRequired": false, + "lastSignature": "0x00", + "stakeAmount": "1000000", + "stakeDenom": "stake", + "maxViolationsCount": 10, + "freezeBlocksPeriod": 100 +} +``` ### Operation **Operation** - defines generic operation to be signed by core. Definition: - ```protobuf - enum OpType { - TRANSFER = 0; - CHANGE_PARTIES = 1; - FEE_TOKEN_MANAGEMENT = 2; - CONTRACT_UPGRADE = 3; - IDENTITY_DEFAULT_TRANSFER = 4; - IDENTITY_AGGREGATED_TRANSFER = 5; - } - - enum OpStatus { - INITIALIZED = 0; - APPROVED = 1; - NOT_APPROVED = 2; - SIGNED = 3; - } - - message Operation { - // Should be in a hex format 0x... - string index = 1; - opType operationType = 2; - // Corresponding to type details - google.protobuf.Any details = 3; - opStatus status = 4; - string creator = 5; - uint64 timestamp = 6; - } - ``` - -
- Example - - ```json - { - "index": "0x683f666c05682cdbf8ad0d2bd988515deca0dc82296d4366debfbff738f7eacb", - "operationType": "TRANSFER", - "details": { - "@type": "/rarimo.rarimocore.rarimocore.Transfer", - "origin": "0x683f666c05682cdbf8ad0d2bd988515deca0dc82296d4366debfbff738f7eacb", - "tx": "e2YTbRzKSPXHkesQhSaANDEGyHHqBfyytEoWCeBjJ9Ugzzrh37kvpc5MDMNHAbwL17eAVQnrMc48EpD2RYx2GeL", - "eventId": "0", - "sender": "FCpFKSEboCUGg1Qs8NFwH2suMAHYWvFUUiVWk8cKwNqf", - "receiver": "0xd30a6d9589a4ad1845f4cfb6cdafa47e2d444fcc568cef04525f1d700f4e53aa", - "amount": "1000", - "bundleData": "", - "bundleSalt": "", - "from": { - "chain": "Solana", - "address": "", - "tokenID": "" - }, - "to": { - "chain": "Solana", - "address": "", - "tokenID": "" - }, - "meta": null - }, - "status": "SIGNED", - "creator": "rarimo1g9p4ejp9p877j9vdnuyqtgqm4lhm4f6j7uaztx", - "timestamp": "113310" - } - ``` -
+ +```protobuf +enum OpType { + TRANSFER = 0; + CHANGE_PARTIES = 1; + FEE_TOKEN_MANAGEMENT = 2; + CONTRACT_UPGRADE = 3; + IDENTITY_DEFAULT_TRANSFER = 4; + IDENTITY_AGGREGATED_TRANSFER = 5; +} + +enum OpStatus { + INITIALIZED = 0; + APPROVED = 1; + NOT_APPROVED = 2; + SIGNED = 3; +} + +message Operation { + // Should be in a hex format 0x... + string index = 1; + opType operationType = 2; + // Corresponding to type details + google.protobuf.Any details = 3; + opStatus status = 4; + string creator = 5; + uint64 timestamp = 6; +} +``` + +Example: + +```json +{ + "index": "0x683f666c05682cdbf8ad0d2bd988515deca0dc82296d4366debfbff738f7eacb", + "operationType": "TRANSFER", + "details": { + "@type": "/rarimo.rarimocore.rarimocore.Transfer", + "origin": "0x683f666c05682cdbf8ad0d2bd988515deca0dc82296d4366debfbff738f7eacb", + "tx": "e2YTbRzKSPXHkesQhSaANDEGyHHqBfyytEoWCeBjJ9Ugzzrh37kvpc5MDMNHAbwL17eAVQnrMc48EpD2RYx2GeL", + "eventId": "0", + "sender": "FCpFKSEboCUGg1Qs8NFwH2suMAHYWvFUUiVWk8cKwNqf", + "receiver": "0xd30a6d9589a4ad1845f4cfb6cdafa47e2d444fcc568cef04525f1d700f4e53aa", + "amount": "1000", + "bundleData": "", + "bundleSalt": "", + "from": { + "chain": "Solana", + "address": "", + "tokenID": "" + }, + "to": { + "chain": "Solana", + "address": "", + "tokenID": "" + }, + "meta": null + }, + "status": "SIGNED", + "creator": "rarimo1g9p4ejp9p877j9vdnuyqtgqm4lhm4f6j7uaztx", + "timestamp": "113310" +} +``` ### Confirmation **Confirmation** - defines tss signature for some set of operations. Definition: - ```protobuf - message Confirmation { - // hex-encoded - string root = 1; - // hex-encoded - repeated string indexes = 2; - // hex-encoded - string signatureECDSA = 3; - string creator = 4; - } - ``` - -
- Example - - ```json - { - "root": "0x17831935b02ca1784e920245c2ea4f6d5dd6298b1df4e3c870e5f6f45d2b0797", - "indexes": [ - "0x836638ffdc89588a635c24921f1b524d118e9e75c97d38b675620c4211493d7f" - ], - "signatureECDSA": "0x8bf642743d6ca2361d503c7accdfdd269ff043a070beb22904a5a9c4442c1aa20ae3252198d60dedf8316908408099022c16c1a79823ccd3c49cdab84e473b7a00", - "creator": "rarimo1yxzygxdk3eujpudr3ynux4gkg7r6ss6csqf9ew" - } - ``` -
+ +```protobuf +message Confirmation { + // hex-encoded + string root = 1; + // hex-encoded + repeated string indexes = 2; + // hex-encoded + string signatureECDSA = 3; + string creator = 4; +} +``` + +Example: + +```json +{ + "root": "0x17831935b02ca1784e920245c2ea4f6d5dd6298b1df4e3c870e5f6f45d2b0797", + "indexes": [ + "0x836638ffdc89588a635c24921f1b524d118e9e75c97d38b675620c4211493d7f" + ], + "signatureECDSA": "0x8bf642743d6ca2361d503c7accdfdd269ff043a070beb22904a5a9c4442c1aa20ae3252198d60dedf8316908408099022c16c1a79823ccd3c49cdab84e473b7a00", + "creator": "rarimo1yxzygxdk3eujpudr3ynux4gkg7r6ss6csqf9ew" +} +``` ### Vote **Vote** - defines validator votes for operation validity. Definition: - ```protobuf - enum VoteType { - YES = 0; - NO = 1; - } - - message VoteIndex { - string operation = 1; - string validator = 2; - } - - message Vote { - VoteIndex index = 1; - VoteType vote = 2; - } - ``` - -
- Example - - ```json - { - "index": { - "operation": "0x683f666c05682cdbf8ad0d2bd988515deca0dc82296d4366debfbff738f7eacb", - "validator": "rarimo1eqmyvqge5mu7cfv4gjy8y7smfxhq5r0ctljf0n" - }, - "vote": "YES" - } - ``` -
+ +```protobuf +enum VoteType { + YES = 0; + NO = 1; +} + +message VoteIndex { + string operation = 1; + string validator = 2; +} + +message Vote { + VoteIndex index = 1; + VoteType vote = 2; +} +``` + +Example: + +```json +{ + "index": { + "operation": "0x683f666c05682cdbf8ad0d2bd988515deca0dc82296d4366debfbff738f7eacb", + "validator": "rarimo1eqmyvqge5mu7cfv4gjy8y7smfxhq5r0ctljf0n" + }, + "vote": "YES" +} +``` + +Example: ### Violation report -**ViolationReport** - stored reports from TSS about other parties violations. Used to calculate violations amount and exclude from parties set upon reaching the configured aount. +**ViolationReport** - stored reports from TSS about other parties violations. Used to calculate violations amount and +exclude from parties set upon reaching the configured aount. Definition: - ```protobuf - enum ViolationType { - Offline = 0; - Spam = 1; - Other = 3; - } - - message ViolationReportIndex { - string sessionId = 1; - string offender = 2; - ViolationType violationType = 3; - string sender = 4; - } - - message ViolationReport { - ViolationReportIndex index = 1; - // Optional message - string msg = 3; - } - ``` + +```protobuf +enum ViolationType { + Offline = 0; + Spam = 1; + Other = 3; +} + +message ViolationReportIndex { + string sessionId = 1; + string offender = 2; + ViolationType violationType = 3; + string sender = 4; +} + +message ViolationReport { + ViolationReportIndex index = 1; + // Optional message + string msg = 3; +} +``` ---- ## Keepers -The `rarimocore` module only exposes one keeper, which can be used to create operations, access TSS parties information in params, access and create votes. +The `rarimocore` module only exposes one keeper, which can be used to create operations, access TSS parties information +in params, access and create votes. Some of useful Keeper methods: @@ -305,9 +319,11 @@ Definition: `CreateTransferOperation(ctx sdk.Context, creator string, transfer *types.Transfer, approved bool) error` Flow: + - Get source network from `tokenmanager` module. Check that bridge transfers are acceptable for that network. - Create operation entry and check that operation does not exist. -- Only not approved operation can be replaced. If operation already exists and has to be replaced then we have to clear all existing votes. +- Only not approved operation can be replaced. If operation already exists and has to be replaced then we have to clear + all existing votes. - If approve is required then will call `ApproveOperation`. ### ApproveOperation @@ -320,6 +336,7 @@ Definition: Flow: The method is designed to execute some special logic for operation approvals. Currently, only for transfer operation such logic exists: + - Get `CollectionData` for source token - Get `OnChainItem` for source token - If `OnChainItem` does not exist then create `Item` (also does not exist), create `OnChainItem`, set seed if provided. @@ -335,12 +352,13 @@ Definition: `CreateVote(ctx sdk.Context, vote types.Vote) (bool, error)` Flow: + - Check that operation exists - Check that vote does not exist - Check operation status (should be `INITIALIZED`) - Save vote -### CreateIdentityDefaultTransferOperation +### CreateIdentityDefaultTransferOperation/CreateIdentityStateTransferOperation/CreateIdentityGISTTransferOperation/CreateWorldCoinIdentityTransferOperation **CreateIdentityDefaultTransferOperation** - used by `oraclemanager` module to create identity transfer operations @@ -348,22 +366,27 @@ Definition: `CreateIdentityDefaultTransferOperation(ctx sdk.Context, creator string, transfer *types.IdentityDefaultTransfer) error` Flow: + - Get source network from `tokenmanager` module. Check that bridge transfers are acceptable for that network. - Create operation entry and check that operation does not exist. -- Only not approved operation can be replaced. If operation already exists and need to be replaced then we have to clear all existing votes. +- Only not approved operation can be replaced. If operation already exists and need to be replaced then we have to clear + all existing votes. ### CreateFeeTokenManagementOperation -**CreateFeeTokenManagementOperation** - used by `tokenmanager` module to create fee management operation after proposal acceptance. +**CreateFeeTokenManagementOperation** - used by `tokenmanager` module to create fee management operation after proposal +acceptance. Definition: `CreateFeeTokenManagementOperation(ctx sdk.Context, op *types.FeeTokenManagement) error` Flow: + - Create operation entry and check that operation does not exist. - Approve operation Also, use + - `CreateWithdrawFeeOperation(ctx sdk.Context, token tokentypes.FeeToken, chain string, receiver string, nonce string) error` - `CreateUpdateFeeTokenOperation(ctx sdk.Context, token tokentypes.FeeToken, chain string, nonce string) error` - `CreateRemoveFeeTokenOperation(ctx sdk.Context, token tokentypes.FeeToken, chain string, nonce string) error` @@ -376,21 +399,25 @@ Also, use ### CreateChangePartiesOperation **CreateChangePartiesOperation** - creates new operation with type `CHANGE_PARTIES` and `APPROVED` status. - Used by TSS producers to reshare keys when parties set has been changed. - Signature field contains the signature of new public key by old public key and will be used to change keys on the bridge contracts. - ```protobuf - message MsgCreateChangePartiesOp { - string creator = 1; - repeated Party newSet = 2; - string newPublicKey = 3; - string signature = 4; - } - ``` +Used by TSS producers to reshare keys when parties set has been changed. +Signature field contains the signature of new public key by old public key and will be used to change keys on the bridge +contracts. + +```protobuf +message MsgCreateChangePartiesOp { + string creator = 1; + repeated Party newSet = 2; + string newPublicKey = 3; + string signature = 4; +} +``` ### CreateConfirmation -**CreateConfirmation** - creates the confirmation for set of operations. After confirmation created user can use provided -signature and merkle tree to execute event unlocking on destination chain. Confirmation can be created only for operation with `APPROVED` status. +**CreateConfirmation** - creates the confirmation for set of operations. After confirmation created user can use +provided +signature and merkle tree to execute event unlocking on destination chain. Confirmation can be created only for +operation with `APPROVED` status. After hash and signature verification operation status will be changed to `SIGNED`. - Verify signature for provided tree root corresponds to the stored in params public key @@ -403,38 +430,41 @@ After hash and signature verification operation status will be changed to `SIGNE Apply operation is designed to execute special functional for any operation after is becomes signed. Also, ApplyOperation method changes the operation status to `SIGNED` - ```protobuf - message MsgCreateConfirmation { - string creator = 1; - // hex-encoded - string root = 2; - repeated string indexes = 3; - // hex-encoded - string signatureECDSA = 4; - } - ``` +```protobuf +message MsgCreateConfirmation { + string creator = 1; + // hex-encoded + string root = 2; + repeated string indexes = 3; + // hex-encoded + string signatureECDSA = 4; +} +``` ### SetupInitial -**SetupInitial** - used only in setup phase (when ECDSA key in params is empty and update flag is true). After threshold keys generation TSS parties submits +**SetupInitial** - used only in setup phase (when ECDSA key in params is empty and update flag is true). After threshold +keys generation TSS parties submits `MsgSetupInitial` to confirm successful keys generation and provide new party public key data. - ```protobuf - message MsgSetupInitial { - string creator = 1; - string partyPublicKey = 2; - string newPublicKey = 3; - } - ``` + +```protobuf + message MsgSetupInitial { + string creator = 1; + string partyPublicKey = 2; + string newPublicKey = 3; +} +``` ### ChangePartyAddress **ChangePartyAddress** - changes party address. Only party account can execute. Change will be applied immediately. - ```protobuf - message MsgChangePartyAddress { - string creator = 1; - string newAddress = 2; - } - ``` + +```protobuf +message MsgChangePartyAddress { + string creator = 1; + string newAddress = 2; +} +``` ### Stake @@ -444,14 +474,14 @@ Also, ApplyOperation method changes the operation status to `SIGNED` - Transfer coins from account to module - Add inactive party to the list and set `UpdateIsRequired` flag. - ```protobuf - message MsgStake { - string creator = 1; - string account = 2; - string address = 3; - string trialPublicKey = 4; - } - ``` +```protobuf +message MsgStake { + string creator = 1; + string account = 2; + string address = 3; + string trialPublicKey = 4; +} +``` ### Unstake @@ -462,12 +492,12 @@ Also, ApplyOperation method changes the operation status to `SIGNED` - Transfer coins from module account to party or delegator (depends on msg signer) - Remove party from list and set `UpdateIsRequired` flag. - ```protobuf - message MsgUnstake { - string creator = 1; - string account = 2; - } - ``` +```protobuf + message MsgUnstake { + string creator = 1; + string account = 2; +} +``` ### CreateViolationReport @@ -476,19 +506,21 @@ Also, ApplyOperation method changes the operation status to `SIGNED` - Check that sender and offender is active parties - Check that violation has not been created yet - Save violation report -- Iterate over existing reports, increment party violations if there are more than threshold violations for same session. -- If party violations reaches `maxViolationsCount` (in params) then change party status to `Frozen` and set `UpdateIsRequired` flag. - - ```protobuf - message MsgCreateViolationReport { - string creator = 1; - string sessionId = 2; - rarimo.rarimocore.rarimocore.ViolationType violationType = 3; - string offender = 4; - // Optional message - string msg = 5; - } - ``` +- Iterate over existing reports, increment party violations if there are more than threshold violations for same + session. +- If party violations reaches `maxViolationsCount` (in params) then change party status to `Frozen` and + set `UpdateIsRequired` flag. + +```protobuf + message MsgCreateViolationReport { + string creator = 1; + string sessionId = 2; + rarimo.rarimocore.rarimocore.ViolationType violationType = 3; + string offender = 4; + // Optional message + string msg = 5; +} +``` ---- @@ -496,47 +528,54 @@ Also, ApplyOperation method changes the operation status to `SIGNED` ### UnfreezeSignerPartyProposal -**UnfreezeSignerPartyProposal** - if party reaches ```maxViolationsCount``` is becomes freezed and there will be some time (```freezeBlocksPeriod```) when unfreeze proposal can be created. If after ```freezeBlocksPeriod``` party is still freezed it will be slashed forever. - ```protobuf - message UnfreezeSignerPartyProposal { - string title = 1; - string description = 2; - string account = 3; - } - ``` +**UnfreezeSignerPartyProposal** - if party reaches ```maxViolationsCount``` is becomes freezed and there will be some +time (```freezeBlocksPeriod```) when unfreeze proposal can be created. If after ```freezeBlocksPeriod``` party is still +freezed it will be slashed forever. + +```protobuf +message UnfreezeSignerPartyProposal { + string title = 1; + string description = 2; + string account = 3; +} +``` ### ReshareKeysProposal -**ReshareKeysProposal** - will set `isUpdateRequired=true` and launch key resharing if any of parties lost his secret key data. - ```protobuf - message ReshareKeysProposal { - string title = 1; - string description = 2; - } - ``` +**ReshareKeysProposal** - will set `isUpdateRequired=true` and launch key resharing if any of parties lost his secret +key data. + +```protobuf +message ReshareKeysProposal { + string title = 1; + string description = 2; +} +``` ### SlashProposal **SlashProposal** - proposal to slash a party immediately. - ```protobuf - message SlashProposal { - string title = 1; - string description = 2; - string party = 3; - } - ``` + +```protobuf +message SlashProposal { + string title = 1; + string description = 2; + string party = 3; +} +``` ### DropPartiesProposal **DropPartiesProposal** - in some cases we will need to drop all parties and regenerate keys again. - Using that proposal you can unstake all parties (that is active/inactive or freezed) and clear parties set. - After the new parties should use ```Stake``` operation and ```SetupInitial``` operation to generate new parties set. Also changing bridge contracts will be also required because we can not provide signature for changing public key. - - ```protobuf - message DropPartiesProposal { - string title = 1; - string description = 2; - } - ``` +Using that proposal you can unstake all parties (that is active/inactive or freezed) and clear parties set. +After the new parties should use ```Stake``` operation and ```SetupInitial``` operation to generate new parties set. +Also changing bridge contracts will be also required because we can not provide signature for changing public key. + +```protobuf +message DropPartiesProposal { + string title = 1; + string description = 2; +} +``` ---- diff --git a/x/rarimocore/crypto/operation/op_identity_gist_transfer.go b/x/rarimocore/crypto/operation/op_identity_gist_transfer.go new file mode 100644 index 00000000..1906e7b9 --- /dev/null +++ b/x/rarimocore/crypto/operation/op_identity_gist_transfer.go @@ -0,0 +1,34 @@ +package operation + +import ( + "bytes" + + eth "github.com/ethereum/go-ethereum/crypto" + merkle "github.com/rarimo/go-merkle" +) + +// IdentityGISTTransferContent implements the Content interface provided by go-merkle and represents the content stored in the tree. +type IdentityGISTTransferContent struct { + Contract []byte + GISTHash []byte + GISTCreatedAtTimestamp []byte + GISTCreatedAtBlock []byte + ReplacedGISTHash []byte +} + +var _ merkle.Content = IdentityGISTTransferContent{} + +func (c IdentityGISTTransferContent) CalculateHash() []byte { + return eth.Keccak256( + c.Contract, + c.GISTHash, + c.GISTCreatedAtTimestamp, + c.GISTCreatedAtBlock, + c.ReplacedGISTHash, + ) +} + +// Equals tests for equality of two Contents +func (c IdentityGISTTransferContent) Equals(other merkle.Content) bool { + return bytes.Equal(other.CalculateHash(), c.CalculateHash()) +} diff --git a/x/rarimocore/crypto/operation/op_identity_state_transfer.go b/x/rarimocore/crypto/operation/op_identity_state_transfer.go new file mode 100644 index 00000000..3744b214 --- /dev/null +++ b/x/rarimocore/crypto/operation/op_identity_state_transfer.go @@ -0,0 +1,36 @@ +package operation + +import ( + "bytes" + + eth "github.com/ethereum/go-ethereum/crypto" + merkle "github.com/rarimo/go-merkle" +) + +// IdentityStateTransferContent implements the Content interface provided by go-merkle and represents the content stored in the tree. +type IdentityStateTransferContent struct { + Contract []byte + Id []byte + StateHash []byte + StateCreatedAtTimestamp []byte + StateCreatedAtBlock []byte + ReplacedStateHash []byte +} + +var _ merkle.Content = IdentityStateTransferContent{} + +func (c IdentityStateTransferContent) CalculateHash() []byte { + return eth.Keccak256( + c.Contract, + c.Id, + c.StateHash, + c.StateCreatedAtTimestamp, + c.StateCreatedAtBlock, + c.ReplacedStateHash, + ) +} + +// Equals tests for equality of two Contents +func (c IdentityStateTransferContent) Equals(other merkle.Content) bool { + return bytes.Equal(other.CalculateHash(), c.CalculateHash()) +} diff --git a/x/rarimocore/crypto/operation/op_worldcoin_identity_transfer.go b/x/rarimocore/crypto/operation/op_worldcoin_identity_transfer.go new file mode 100644 index 00000000..5a5555c2 --- /dev/null +++ b/x/rarimocore/crypto/operation/op_worldcoin_identity_transfer.go @@ -0,0 +1,30 @@ +package operation + +import ( + "bytes" + + eth "github.com/ethereum/go-ethereum/crypto" + merkle "github.com/rarimo/go-merkle" +) + +// WorldCoinIdentityTransferContent implements the Content interface provided by go-merkle and represents the content stored in the tree. +type WorldCoinIdentityTransferContent struct { + Contract []byte + // Previous (replaced) identity state + PrevState []byte + // Worldcoin identity state + State []byte + // Worldcoin timestamp + Timestamp []byte +} + +var _ merkle.Content = WorldCoinIdentityTransferContent{} + +func (c WorldCoinIdentityTransferContent) CalculateHash() []byte { + return eth.Keccak256(c.Contract, c.PrevState, c.State, c.Timestamp) +} + +// Equals tests for equality of two Contents +func (c WorldCoinIdentityTransferContent) Equals(other merkle.Content) bool { + return bytes.Equal(other.CalculateHash(), c.CalculateHash()) +} diff --git a/x/rarimocore/crypto/pkg/content/main.go b/x/rarimocore/crypto/pkg/content/main.go index ebbff367..655ed147 100644 --- a/x/rarimocore/crypto/pkg/content/main.go +++ b/x/rarimocore/crypto/pkg/content/main.go @@ -61,6 +61,15 @@ func GetContents(client *grpc.ClientConn, operations ...*types.Operation) ([]mer return nil, err } + if content != nil { + contents = append(contents, content) + } + case types.OpType_IDENTITY_GIST_TRANSFER: + content, err := GetIdentityGISTTransferContent(op) + if err != nil { + return nil, err + } + if content != nil { contents = append(contents, content) } @@ -70,6 +79,24 @@ func GetContents(client *grpc.ClientConn, operations ...*types.Operation) ([]mer return nil, err } + if content != nil { + contents = append(contents, content) + } + case types.OpType_IDENTITY_STATE_TRANSFER: + content, err := GetIdentityStateTransferContent(op) + if err != nil { + return nil, err + } + + if content != nil { + contents = append(contents, content) + } + case types.OpType_WORLDCOIN_IDENTITY_TRANSFER: + content, err := GetWorldCoinIdentityTransferContent(op) + if err != nil { + return nil, err + } + if content != nil { contents = append(contents, content) } @@ -166,6 +193,26 @@ func GetIdentityDefaultTransferContent(op *types.Operation) (merkle.Content, err return content, errors.Wrap(err, "error creating content") } +func GetIdentityGISTTransferContent(op *types.Operation) (merkle.Content, error) { + transfer, err := pkg.GetIdentityGISTTransfer(*op) + if err != nil { + return nil, errors.Wrap(err, "error parsing operation details") + } + + content, err := pkg.GetIdentityGISTTransferContent(transfer) + return content, errors.Wrap(err, "error creating content") +} + +func GetIdentityStateTransferContent(op *types.Operation) (merkle.Content, error) { + transfer, err := pkg.GetIdentityStateTransfer(*op) + if err != nil { + return nil, errors.Wrap(err, "error parsing operation details") + } + + content, err := pkg.GetIdentityStateTransferContent(transfer) + return content, errors.Wrap(err, "error creating content") +} + func GetIdentityAggregatedTransferContent(op *types.Operation) (merkle.Content, error) { transfer, err := pkg.GetIdentityAggregatedTransfer(*op) if err != nil { @@ -175,3 +222,13 @@ func GetIdentityAggregatedTransferContent(op *types.Operation) (merkle.Content, content, err := pkg.GetIdentityAggregatedTransferContent(transfer) return content, errors.Wrap(err, "error creating content") } + +func GetWorldCoinIdentityTransferContent(op *types.Operation) (merkle.Content, error) { + transfer, err := pkg.GetWorldCoinIdentityTransfer(*op) + if err != nil { + return nil, errors.Wrap(err, "error parsing operation details") + } + + content, err := pkg.GetWorldCoinIdentityTransferContent(transfer) + return content, errors.Wrap(err, "error creating content") +} diff --git a/x/rarimocore/crypto/pkg/op_identity_gist_transfer.go b/x/rarimocore/crypto/pkg/op_identity_gist_transfer.go new file mode 100644 index 00000000..f4449ff9 --- /dev/null +++ b/x/rarimocore/crypto/pkg/op_identity_gist_transfer.go @@ -0,0 +1,28 @@ +package pkg + +import ( + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/gogo/protobuf/proto" + "github.com/rarimo/rarimo-core/x/rarimocore/crypto/operation" + "github.com/rarimo/rarimo-core/x/rarimocore/types" +) + +func GetIdentityGISTTransfer(operation types.Operation) (*types.IdentityGISTTransfer, error) { + if operation.OperationType == types.OpType_IDENTITY_GIST_TRANSFER { + change := new(types.IdentityGISTTransfer) + return change, proto.Unmarshal(operation.Details.Value, change) + } + + return nil, sdkerrors.Wrap(sdkerrors.ErrInvalidType, "invalid operation type") +} + +func GetIdentityGISTTransferContent(op *types.IdentityGISTTransfer) (*operation.IdentityGISTTransferContent, error) { + return &operation.IdentityGISTTransferContent{ + Contract: hexutil.MustDecode(op.Contract), + GISTHash: operation.To32Bytes(hexutil.MustDecode(op.GISTHash)), + GISTCreatedAtTimestamp: operation.To32Bytes(operation.AmountBytes(op.GISTCreatedAtTimestamp)), + GISTCreatedAtBlock: operation.To32Bytes(operation.AmountBytes(op.GISTCreatedAtBlock)), + ReplacedGISTHash: operation.To32Bytes(hexutil.MustDecode(op.ReplacedGISTHash)), + }, nil +} diff --git a/x/rarimocore/crypto/pkg/op_identity_state_transfer.go b/x/rarimocore/crypto/pkg/op_identity_state_transfer.go new file mode 100644 index 00000000..3aac9559 --- /dev/null +++ b/x/rarimocore/crypto/pkg/op_identity_state_transfer.go @@ -0,0 +1,28 @@ +package pkg + +import ( + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/gogo/protobuf/proto" + "github.com/rarimo/rarimo-core/x/rarimocore/crypto/operation" + "github.com/rarimo/rarimo-core/x/rarimocore/types" +) + +func GetIdentityStateTransfer(operation types.Operation) (*types.IdentityStateTransfer, error) { + if operation.OperationType == types.OpType_IDENTITY_STATE_TRANSFER { + change := new(types.IdentityStateTransfer) + return change, proto.Unmarshal(operation.Details.Value, change) + } + return nil, sdkerrors.Wrap(sdkerrors.ErrInvalidType, "invalid operation type") +} + +func GetIdentityStateTransferContent(op *types.IdentityStateTransfer) (*operation.IdentityStateTransferContent, error) { + return &operation.IdentityStateTransferContent{ + Contract: hexutil.MustDecode(op.Contract), + Id: operation.To32Bytes(hexutil.MustDecode(op.Id)), + StateHash: operation.To32Bytes(hexutil.MustDecode(op.StateHash)), + StateCreatedAtTimestamp: operation.To32Bytes(operation.AmountBytes(op.StateCreatedAtTimestamp)), + StateCreatedAtBlock: operation.To32Bytes(operation.AmountBytes(op.StateCreatedAtBlock)), + ReplacedStateHash: operation.To32Bytes(hexutil.MustDecode(op.ReplacedStateHash)), + }, nil +} diff --git a/x/rarimocore/crypto/pkg/op_worldcoin_identity_transfer.go b/x/rarimocore/crypto/pkg/op_worldcoin_identity_transfer.go new file mode 100644 index 00000000..23ee4bef --- /dev/null +++ b/x/rarimocore/crypto/pkg/op_worldcoin_identity_transfer.go @@ -0,0 +1,27 @@ +package pkg + +import ( + "cosmossdk.io/errors" + sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/ethereum/go-ethereum/common/hexutil" + "github.com/gogo/protobuf/proto" + "github.com/rarimo/rarimo-core/x/rarimocore/crypto/operation" + "github.com/rarimo/rarimo-core/x/rarimocore/types" +) + +func GetWorldCoinIdentityTransfer(operation types.Operation) (*types.WorldCoinIdentityTransfer, error) { + if operation.OperationType == types.OpType_WORLDCOIN_IDENTITY_TRANSFER { + op := new(types.WorldCoinIdentityTransfer) + return op, proto.Unmarshal(operation.Details.Value, op) + } + return nil, errors.Wrap(sdkerrors.ErrInvalidType, "invalid operation type") +} + +func GetWorldCoinIdentityTransferContent(op *types.WorldCoinIdentityTransfer) (*operation.WorldCoinIdentityTransferContent, error) { + return &operation.WorldCoinIdentityTransferContent{ + Contract: hexutil.MustDecode(op.Contract), + PrevState: operation.To32Bytes(hexutil.MustDecode(op.PrevState)), + State: operation.To32Bytes(hexutil.MustDecode(op.State)), + Timestamp: operation.To32Bytes(operation.AmountBytes(op.Timestamp)), + }, nil +} diff --git a/x/rarimocore/keeper/keeper.go b/x/rarimocore/keeper/keeper.go index b4cbb5e9..08d4e807 100644 --- a/x/rarimocore/keeper/keeper.go +++ b/x/rarimocore/keeper/keeper.go @@ -4,6 +4,7 @@ import ( "fmt" "math/big" + "cosmossdk.io/errors" cosmostypes "github.com/cosmos/cosmos-sdk/codec/types" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" @@ -348,6 +349,157 @@ func (k Keeper) CreateIdentityDefaultTransferOperation(ctx sdk.Context, creator return nil } +func (k Keeper) CreateIdentityGISTTransferOperation(ctx sdk.Context, creator string, transfer *types.IdentityGISTTransfer) error { + network, ok := k.tm.GetNetwork(ctx, transfer.Chain) + if !ok { + return sdkerrors.Wrap(sdkerrors.ErrNotFound, "source network not found") + } + + if network.GetIdentityParams() == nil { + return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "identity transfers is not supported due to lack of parameters") + } + + details, err := cosmostypes.NewAnyWithValue(transfer) + if err != nil { + return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "error parsing details %s", err.Error()) + } + + content, err := pkg.GetIdentityGISTTransferContent(transfer) + if err != nil { + return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "error creating content %s", err.Error()) + } + + var operation = types.Operation{ + Index: hexutil.Encode(content.CalculateHash()), + OperationType: types.OpType_IDENTITY_GIST_TRANSFER, + Details: details, + Status: types.OpStatus_INITIALIZED, + Creator: creator, + Timestamp: uint64(ctx.BlockTime().Unix()), + } + + // Only not approved operation can be changed + if op, ok := k.GetOperation(ctx, operation.Index); ok { + if op.Status != types.OpStatus_NOT_APPROVED { + return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "to change operation it should be unapproved") + } + + // Otherwise - clear votes + k.IterateVotes(ctx, op.Index, func(vote types.Vote) (stop bool) { + k.RemoveVote(ctx, vote.Index) + return false + }) + } + + k.SetOperation( + ctx, + operation, + ) + + ctx.EventManager().EmitEvent(sdk.NewEvent(types.EventTypeNewOperation, + sdk.NewAttribute(types.AttributeKeyOperationId, operation.Index), + sdk.NewAttribute(types.AttributeKeyOperationType, operation.OperationType.String()), + )) + + return nil +} + +func (k Keeper) CreateIdentityStateTransferOperation(ctx sdk.Context, creator string, transfer *types.IdentityStateTransfer) error { + network, ok := k.tm.GetNetwork(ctx, transfer.Chain) + if !ok { + return sdkerrors.Wrap(sdkerrors.ErrNotFound, "source network not found") + } + + if network.GetIdentityParams() == nil { + return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "identity transfers is not supported due to lack of parameters") + } + + details, err := cosmostypes.NewAnyWithValue(transfer) + if err != nil { + return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "error parsing details %s", err.Error()) + } + + content, err := pkg.GetIdentityStateTransferContent(transfer) + if err != nil { + return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "error creating content %s", err.Error()) + } + + var operation = types.Operation{ + Index: hexutil.Encode(content.CalculateHash()), + OperationType: types.OpType_IDENTITY_STATE_TRANSFER, + Details: details, + Status: types.OpStatus_INITIALIZED, + Creator: creator, + Timestamp: uint64(ctx.BlockTime().Unix()), + } + + // Only not approved operation can be changed + if op, ok := k.GetOperation(ctx, operation.Index); ok { + if op.Status != types.OpStatus_NOT_APPROVED { + return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "to change operation it should be unapproved") + } + + // Otherwise - clear votes + k.IterateVotes(ctx, op.Index, func(vote types.Vote) (stop bool) { + k.RemoveVote(ctx, vote.Index) + return false + }) + } + + k.SetOperation( + ctx, + operation, + ) + + ctx.EventManager().EmitEvent(sdk.NewEvent(types.EventTypeNewOperation, + sdk.NewAttribute(types.AttributeKeyOperationId, operation.Index), + sdk.NewAttribute(types.AttributeKeyOperationType, operation.OperationType.String()), + )) + + return nil +} + +func (k Keeper) CreateWorldCoinIdentityTransferOperation(ctx sdk.Context, creator string, transfer *types.WorldCoinIdentityTransfer) error { + details, err := cosmostypes.NewAnyWithValue(transfer) + if err != nil { + return errors.Wrapf(sdkerrors.ErrInvalidRequest, "error parsing details: %s", err.Error()) + } + + content, err := pkg.GetWorldCoinIdentityTransferContent(transfer) + if err != nil { + return errors.Wrapf(sdkerrors.ErrInvalidRequest, "error creating content: %s", err.Error()) + } + + operation := types.Operation{ + Index: hexutil.Encode(content.CalculateHash()), + OperationType: types.OpType_WORLDCOIN_IDENTITY_TRANSFER, + Details: details, + Status: types.OpStatus_INITIALIZED, + Creator: creator, + Timestamp: uint64(ctx.BlockTime().Unix()), + } + + if op, ok := k.GetOperation(ctx, operation.Index); ok { + if op.Status != types.OpStatus_NOT_APPROVED { + return errors.Wrapf(sdkerrors.ErrInvalidRequest, "to change operation it should be unapproved") + } + + k.IterateVotes(ctx, op.Index, func(vote types.Vote) (stop bool) { + k.RemoveVote(ctx, vote.Index) + return false + }) + } + + k.SetOperation(ctx, operation) + + ctx.EventManager().EmitEvent(sdk.NewEvent(types.EventTypeNewOperation, + sdk.NewAttribute(types.AttributeKeyOperationId, operation.Index), + sdk.NewAttribute(types.AttributeKeyOperationType, operation.OperationType.String()), + )) + + return nil +} + func (k Keeper) GetTransfer(ctx sdk.Context, msg *oracletypes.MsgCreateTransferOp) (*types.Transfer, error) { hash := origin.NewDefaultOriginBuilder(). SetTxHash(msg.Tx). @@ -403,6 +555,44 @@ func (k Keeper) GetIdentityDefaultTransfer(_ sdk.Context, msg *oracletypes.MsgCr }, nil } +func (k Keeper) GetIdentityGISTTransfer(_ sdk.Context, msg *oracletypes.MsgCreateIdentityGISTTransferOp) (*types.IdentityGISTTransfer, error) { + return &types.IdentityGISTTransfer{ + Contract: msg.Contract, + Chain: msg.Chain, + GISTHash: msg.GISTHash, + GISTCreatedAtTimestamp: msg.GISTCreatedAtTimestamp, + GISTCreatedAtBlock: msg.GISTCreatedAtBlock, + ReplacedGISTHash: msg.ReplacedGISTtHash, + }, nil +} + +func (k Keeper) GetIdentityStateTransfer(_ sdk.Context, msg *oracletypes.MsgCreateIdentityStateTransferOp) (*types.IdentityStateTransfer, error) { + return &types.IdentityStateTransfer{ + Contract: msg.Contract, + Chain: msg.Chain, + Id: msg.Id, + StateHash: msg.StateHash, + StateCreatedAtTimestamp: msg.StateCreatedAtTimestamp, + StateCreatedAtBlock: msg.StateCreatedAtBlock, + ReplacedStateHash: msg.ReplacedStateHash, + }, nil +} + +func (k Keeper) GetWorldCoinIdentityTransfer( + _ sdk.Context, + msg *oracletypes.MsgCreateWorldCoinIdentityTransferOp, +) (*types.WorldCoinIdentityTransfer, error) { + + return &types.WorldCoinIdentityTransfer{ + Contract: msg.Contract, + Chain: msg.Chain, + PrevState: msg.PrevState, + State: msg.State, + Timestamp: msg.Timestamp, + BlockNumber: msg.BlockNumber, + }, nil +} + func castAmount(currentAmount string, currentDecimals uint8, targetDecimals uint8) string { if currentDecimals == targetDecimals { return currentAmount diff --git a/x/rarimocore/keeper/msg_server.go b/x/rarimocore/keeper/msg_server.go index aee55115..ca468afc 100644 --- a/x/rarimocore/keeper/msg_server.go +++ b/x/rarimocore/keeper/msg_server.go @@ -32,7 +32,7 @@ func (k msgServer) checkCreatorIsValidator(ctx sdk.Context, creator string) erro return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "sender is not a validator") } -func (k *Keeper) checkIsAnActiveParty(ctx sdk.Context, sender string) error { +func (k Keeper) checkIsAnActiveParty(ctx sdk.Context, sender string) error { for _, party := range k.GetParams(ctx).Parties { if party.Account != sender { continue @@ -46,7 +46,7 @@ func (k *Keeper) checkIsAnActiveParty(ctx sdk.Context, sender string) error { return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "not an active party") } -func (k *Keeper) checkIsValidParty(ctx sdk.Context, sender string) error { +func (k Keeper) checkIsValidParty(ctx sdk.Context, sender string) error { for _, party := range k.GetParams(ctx).Parties { if party.Account != sender { continue diff --git a/x/rarimocore/keeper/msg_server_confirmation.go b/x/rarimocore/keeper/msg_server_confirmation.go index f496ceb3..4e03be3c 100644 --- a/x/rarimocore/keeper/msg_server_confirmation.go +++ b/x/rarimocore/keeper/msg_server_confirmation.go @@ -29,7 +29,7 @@ func (k msgServer) CreateConfirmation(goCtx context.Context, msg *types.MsgCreat // Check that confirmation does not exist if _, isFound := k.GetConfirmation(ctx, msg.Root); isFound { - return nil, sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "index already set") + return &types.MsgCreateConfirmationResponse{}, nil } // Iterate over provided indexes to check the validity of provided tree root. @@ -199,12 +199,30 @@ func (k Keeper) getContent(ctx sdk.Context, op types.Operation) (merkle.Content, return nil, sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "failed to unmarshal details") } return k.getIdentityDefaultTransferContent(ctx, transfer) + case types.OpType_IDENTITY_GIST_TRANSFER: + transfer, err := pkg.GetIdentityGISTTransfer(op) + if err != nil { + return nil, sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "failed to unmarshal details") + } + return k.getIdentityGISTTransferContent(ctx, transfer) + case types.OpType_IDENTITY_STATE_TRANSFER: + transfer, err := pkg.GetIdentityStateTransfer(op) + if err != nil { + return nil, sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "failed to unmarshal details") + } + return k.getIdentityStateTransferContent(ctx, transfer) case types.OpType_IDENTITY_AGGREGATED_TRANSFER: transfer, err := pkg.GetIdentityAggregatedTransfer(op) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "failed to unmarshal details") } return k.getIdentityAggregatedTransferContent(ctx, transfer) + case types.OpType_WORLDCOIN_IDENTITY_TRANSFER: + transfer, err := pkg.GetWorldCoinIdentityTransfer(op) + if err != nil { + return nil, fmt.Errorf("%w: failed to unmarshal details: %s", sdkerrors.ErrInvalidRequest, err.Error()) + } + return pkg.GetWorldCoinIdentityTransferContent(transfer) default: return nil, sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "invalid operation") } @@ -271,6 +289,14 @@ func (k Keeper) getIdentityDefaultTransferContent(_ sdk.Context, transfer *types return pkg.GetIdentityDefaultTransferContent(transfer) } +func (k Keeper) getIdentityGISTTransferContent(_ sdk.Context, transfer *types.IdentityGISTTransfer) (*operation.IdentityGISTTransferContent, error) { + return pkg.GetIdentityGISTTransferContent(transfer) +} + +func (k Keeper) getIdentityStateTransferContent(_ sdk.Context, transfer *types.IdentityStateTransfer) (*operation.IdentityStateTransferContent, error) { + return pkg.GetIdentityStateTransferContent(transfer) +} + func (k Keeper) getChangePartiesContent(_ sdk.Context, change *types.ChangeParties) (*operation.ChangePartiesContent, error) { return pkg.GetChangePartiesContent(change) } diff --git a/x/rarimocore/types/codec.go b/x/rarimocore/types/codec.go index a228cdea..51a4b6d1 100644 --- a/x/rarimocore/types/codec.go +++ b/x/rarimocore/types/codec.go @@ -23,6 +23,9 @@ func RegisterCodec(cdc *codec.LegacyAmino) { cdc.RegisterConcrete(&ContractUpgrade{}, "rarimocore/ContractUpgrade", nil) cdc.RegisterConcrete(&IdentityDefaultTransfer{}, "rarimocore/IdentityDefaultTransfer", nil) cdc.RegisterConcrete(&IdentityAggregatedTransfer{}, "rarimocore/IdentityAggregatedTransfer", nil) + cdc.RegisterConcrete(&IdentityGISTTransfer{}, "rarimocore/IdentityGISTTransfer", nil) + cdc.RegisterConcrete(&IdentityStateTransfer{}, "rarimocore/IdentityStateTransfer", nil) + cdc.RegisterConcrete(&WorldCoinIdentityTransfer{}, "rarimocore/WorldCoinIdentityTransfer", nil) cdc.RegisterConcrete(&UnfreezeSignerPartyProposal{}, "rarimocore/UnfreezeSignerPartyProposal", nil) cdc.RegisterConcrete(&ReshareKeysProposal{}, "rarimocore/ReshareKeysProposal", nil) cdc.RegisterConcrete(&SlashProposal{}, "rarimocore/SlashProposal", nil) @@ -99,12 +102,30 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { &IdentityDefaultTransfer{}, ) + registry.RegisterInterface( + "rarimo.rarimocore.rarimocore.IdentityGISTTransfer", + (*proto.Message)(nil), + &IdentityGISTTransfer{}, + ) + + registry.RegisterInterface( + "rarimo.rarimocore.rarimocore.IdentityStateTransfer", + (*proto.Message)(nil), + &IdentityStateTransfer{}, + ) + registry.RegisterInterface( "rarimo.rarimocore.rarimocore.IdentityAggregatedTransfer", (*proto.Message)(nil), &IdentityAggregatedTransfer{}, ) + registry.RegisterInterface( + "rarimo.rarimocore.rarimocore.WorldCoinIdentityTransfer", + (*proto.Message)(nil), + &WorldCoinIdentityTransfer{}, + ) + registry.RegisterInterface( "rarimo.rarimocore.rarimocore.ViolationReport", (*proto.Message)(nil), diff --git a/x/rarimocore/types/confirmation.pb.go b/x/rarimocore/types/confirmation.pb.go index 299297eb..51ca54f9 100644 --- a/x/rarimocore/types/confirmation.pb.go +++ b/x/rarimocore/types/confirmation.pb.go @@ -111,9 +111,9 @@ var fileDescriptor_862d5195a2826b26 = []byte{ 0x04, 0x33, 0x58, 0x1f, 0x9a, 0x28, 0xc8, 0x84, 0xe4, 0xa2, 0xd4, 0xc4, 0x92, 0xfc, 0x22, 0x09, 0x16, 0xb0, 0x02, 0x18, 0xd7, 0xc9, 0xeb, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, - 0xa2, 0x0c, 0xd2, 0x33, 0x4b, 0x72, 0x12, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x21, 0x0e, 0x86, + 0xa2, 0x0c, 0xd2, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x21, 0x0e, 0x86, 0x52, 0xba, 0x60, 0x9f, 0x56, 0xe8, 0x23, 0x79, 0xbb, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, - 0xec, 0x61, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf0, 0xf2, 0x32, 0xf5, 0x11, 0x01, 0x00, + 0xec, 0x61, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x55, 0x1c, 0x19, 0x83, 0x11, 0x01, 0x00, 0x00, } diff --git a/x/rarimocore/types/genesis.pb.go b/x/rarimocore/types/genesis.pb.go index 5459f869..4cc9538a 100644 --- a/x/rarimocore/types/genesis.pb.go +++ b/x/rarimocore/types/genesis.pb.go @@ -107,29 +107,29 @@ func init() { func init() { proto.RegisterFile("rarimocore/genesis.proto", fileDescriptor_7c823eb3ed15d1a7) } var fileDescriptor_7c823eb3ed15d1a7 = []byte{ - // 338 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0xd2, 0xd1, 0x4a, 0xf3, 0x30, - 0x14, 0x07, 0xf0, 0xf6, 0xdb, 0xbe, 0x21, 0x99, 0x82, 0x44, 0xc5, 0x51, 0x34, 0xce, 0x21, 0x38, - 0x84, 0xb5, 0x32, 0xdf, 0x60, 0x0a, 0x82, 0x08, 0xca, 0x06, 0x5e, 0x88, 0x20, 0xd9, 0x88, 0x25, - 0xb0, 0xee, 0x94, 0x34, 0x88, 0xbe, 0x85, 0xc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 0x8c, - 0xac, 0x2c, 0x1e, 0x0e, 0xd5, 0x2a, 0xaa, 0xad, 0x72, 0xf5, 0x06, 0xb4, 0xb0, 0x5a, 0x91, 0xa4, - 0x82, 0x6c, 0x14, 0xef, 0xdc, 0xc7, 0x67, 0x46, 0xf0, 0x3f, 0x82, 0x9d, 0x3f, 0xc0, 0xe5, 0xa0, - 0xb5, 0x7f, 0xf3, 0x7a, 0x17, 0xd3, 0x39, 0xf3, 0x67, 0x73, 0xe6, 0x7f, 0xcc, 0x99, 0xff, 0x92, - 0x33, 0x6f, 0x96, 0x33, 0xef, 0x2d, 0x67, 0xde, 0xed, 0x71, 0x2c, 0xf5, 0x98, 0x0f, 0xc3, 0x11, - 0x24, 0x91, 0xb1, 0xed, 0xa7, 0x83, 0x4b, 0xf0, 0x14, 0x39, 0x1b, 0xa1, 0x9f, 0x53, 0x91, 0x0d, - 0x6b, 0xb8, 0x07, 0x27, 0x9f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xd7, 0x93, 0x9c, 0xf2, 0xe5, 0x02, - 0x00, 0x00, + // 337 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0xd2, 0xd1, 0x4a, 0xc3, 0x30, + 0x14, 0x06, 0xe0, 0xd6, 0xcd, 0x21, 0x99, 0x82, 0x44, 0xc5, 0x51, 0x34, 0xce, 0x21, 0x38, 0x84, + 0xb5, 0x32, 0xdf, 0x60, 0x0a, 0x82, 0x08, 0xca, 0x06, 0x5e, 0x88, 0x20, 0xdd, 0x88, 0x35, 0x60, + 0x77, 0x4a, 0x1a, 0x45, 0xdf, 0xc2, 0x67, 0xf1, 0x29, 0x76, 0xb9, 0x4b, 0xaf, 0x44, 0xda, 0x17, + 0x91, 0x9d, 0xc4, 0x9a, 0xa1, 0xd4, 0xab, 0x86, 0x9c, 0xf3, 0x7f, 0xf4, 0x84, 0x43, 0x1a, 0x32, + 0x94, 0x22, 0x86, 0x11, 0x48, 0x1e, 0x44, 0x7c, 0xcc, 0x53, 0x91, 0xfa, 0x89, 0x04, 0x05, 0x74, + 0x4b, 0x57, 0xfc, 0x9f, 0x06, 0xeb, 0xe8, 0xad, 0x47, 0x10, 0x01, 0x36, 0x06, 0xb3, 0x93, 0xce, + 0x78, 0x9b, 0x96, 0x96, 0x84, 0x32, 0x8c, 0x0d, 0xe6, 0x79, 0x56, 0x01, 0x12, 0x2e, 0x43, 0x25, + 0x60, 0x6c, 0x6a, 0xdb, 0x56, 0x6d, 0x04, 0xe3, 0x3b, 0x21, 0x63, 0xbb, 0xbc, 0x61, 0x95, 0x9f, + 0x40, 0x71, 0x73, 0xbd, 0x6b, 0x5f, 0x0b, 0x78, 0xc0, 0xc8, 0xad, 0xe4, 0x09, 0x48, 0xa5, 0x5b, + 0x5a, 0x6f, 0x15, 0xb2, 0x7c, 0xaa, 0x67, 0x1a, 0xa8, 0x50, 0x71, 0xda, 0x23, 0x35, 0xfd, 0x57, + 0x0d, 0xb7, 0xe9, 0xb6, 0xeb, 0xdd, 0x3d, 0xbf, 0x6c, 0x46, 0xff, 0x12, 0x7b, 0x7b, 0xd5, 0xc9, + 0xc7, 0x8e, 0xd3, 0x37, 0x49, 0x3a, 0x20, 0x2b, 0xc5, 0x00, 0xe7, 0x22, 0x55, 0x8d, 0x85, 0x66, + 0xa5, 0x5d, 0xef, 0xee, 0x97, 0x53, 0x17, 0xdf, 0x11, 0xa3, 0xcd, 0x1b, 0xf4, 0x86, 0xac, 0xda, + 0x93, 0xa3, 0x5b, 0x41, 0xf7, 0xa0, 0xdc, 0x3d, 0xb6, 0x52, 0x86, 0xfe, 0x25, 0xd1, 0x13, 0xb2, + 0x34, 0x7b, 0x38, 0x54, 0xab, 0xa8, 0xb6, 0xca, 0xd5, 0x2b, 0x50, 0xdc, 0x68, 0x45, 0x92, 0x72, + 0xb2, 0x56, 0xbc, 0x73, 0x1f, 0x9f, 0x19, 0xc1, 0x45, 0x04, 0x3b, 0xff, 0x80, 0xf3, 0x41, 0x63, + 0xff, 0xe5, 0xf5, 0xce, 0x26, 0x19, 0x73, 0xa7, 0x19, 0x73, 0x3f, 0x33, 0xe6, 0xbe, 0xe6, 0xcc, + 0x99, 0xe6, 0xcc, 0x79, 0xcf, 0x99, 0x73, 0x7d, 0x18, 0x09, 0x75, 0xff, 0x38, 0xf4, 0x47, 0x10, + 0x07, 0xda, 0x36, 0x9f, 0x0e, 0x2e, 0xc1, 0x73, 0x60, 0x6d, 0x84, 0x7a, 0x49, 0x78, 0x3a, 0xac, + 0xe1, 0x1e, 0x1c, 0x7d, 0x05, 0x00, 0x00, 0xff, 0xff, 0x72, 0x7d, 0xb7, 0x84, 0xe5, 0x02, 0x00, + 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/rarimocore/types/op_change_parties.pb.go b/x/rarimocore/types/op_change_parties.pb.go index 84093894..d0300347 100644 --- a/x/rarimocore/types/op_change_parties.pb.go +++ b/x/rarimocore/types/op_change_parties.pb.go @@ -103,9 +103,9 @@ var fileDescriptor_bcce331765093f26 = []byte{ 0x92, 0xe1, 0xe2, 0x2c, 0xce, 0x4c, 0xcf, 0x4b, 0x2c, 0x29, 0x2d, 0x4a, 0x95, 0x60, 0x06, 0x2b, 0x40, 0x08, 0x38, 0x79, 0x9d, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x41, - 0x7a, 0x66, 0x49, 0x4e, 0x62, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 0xc4, 0x05, 0x50, 0x4a, 0x17, + 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 0xc4, 0x05, 0x50, 0x4a, 0x17, 0xec, 0xb1, 0x0a, 0x7d, 0x24, 0x5f, 0x96, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0x7d, 0x69, - 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x4d, 0xb2, 0xcd, 0xb2, 0x42, 0x01, 0x00, 0x00, + 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xe8, 0x5c, 0xe6, 0xc4, 0x42, 0x01, 0x00, 0x00, } func (m *ChangeParties) Marshal() (dAtA []byte, err error) { diff --git a/x/rarimocore/types/op_contract_upgrade.pb.go b/x/rarimocore/types/op_contract_upgrade.pb.go index 40482f11..6a2fcfc4 100644 --- a/x/rarimocore/types/op_contract_upgrade.pb.go +++ b/x/rarimocore/types/op_contract_upgrade.pb.go @@ -135,25 +135,25 @@ var fileDescriptor_c9fcb7f3cf0bf891 = []byte{ // 332 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0xc1, 0x4a, 0x3b, 0x31, 0x10, 0xc6, 0xbb, 0xfd, 0xb7, 0xfd, 0x63, 0xc0, 0x0a, 0xa1, 0x87, 0x6d, 0x95, 0xa5, 0x48, 0x91, - 0x82, 0xb8, 0x11, 0xbd, 0x0a, 0xa2, 0x9e, 0xf4, 0x58, 0xf4, 0xe2, 0xa5, 0x64, 0xe3, 0x34, 0x5d, - 0xdc, 0xcd, 0x84, 0x34, 0x8b, 0xf6, 0x2d, 0x7c, 0x02, 0x9f, 0xc7, 0x63, 0x8f, 0x1e, 0xa5, 0x7d, + 0x82, 0xb8, 0x11, 0xbd, 0x0a, 0xa2, 0x9e, 0xf4, 0x58, 0xf4, 0xe2, 0xa5, 0x64, 0xe3, 0x34, 0xbb, + 0xd8, 0xcd, 0x84, 0x34, 0x8b, 0xf6, 0x2d, 0x7c, 0x02, 0x9f, 0xc7, 0x63, 0x8f, 0x1e, 0xa5, 0x7d, 0x11, 0xd9, 0x64, 0xd5, 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, 0xfb, 0x3e, 0xb2, 0xb5, 0x63, 0x97, 0xab, 0x66, 0x49, 0xcb, 0x65, 0x7e, 0xfc, 0x1e, - 0x00, 0x00, 0xff, 0xff, 0xa6, 0x13, 0x82, 0x78, 0x07, 0x02, 0x00, 0x00, + 0x5e, 0x57, 0x51, 0xed, 0xf6, 0x50, 0x66, 0x36, 0x2d, 0x92, 0x58, 0x60, 0xce, 0xfc, 0xbe, 0xea, + 0x39, 0x70, 0xf7, 0x7d, 0x64, 0x6b, 0xc7, 0x2e, 0x57, 0xcd, 0x92, 0x96, 0xcb, 0xfc, 0xf8, 0x3d, + 0x00, 0x00, 0xff, 0xff, 0x03, 0xfd, 0xa9, 0x0e, 0x07, 0x02, 0x00, 0x00, } func (m *ContractUpgrade) Marshal() (dAtA []byte, err error) { diff --git a/x/rarimocore/types/op_fee_token_management.pb.go b/x/rarimocore/types/op_fee_token_management.pb.go index 6d4e310b..5d8c655b 100644 --- a/x/rarimocore/types/op_fee_token_management.pb.go +++ b/x/rarimocore/types/op_fee_token_management.pb.go @@ -141,29 +141,29 @@ func init() { } var fileDescriptor_85e0bebf8043d77d = []byte{ - // 348 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xcd, 0x4a, 0xc3, 0x40, - 0x14, 0x85, 0x33, 0xfd, 0x43, 0x47, 0x94, 0x3a, 0x94, 0x12, 0x8b, 0xc4, 0xe2, 0x2a, 0x08, 0x26, - 0x52, 0x7d, 0x81, 0x96, 0xa4, 0xf8, 0x57, 0x2b, 0x21, 0x5a, 0x70, 0x13, 0xa6, 0xe1, 0x1a, 0x83, - 0x26, 0x13, 0xa6, 0x41, 0xec, 0x5b, 0xf8, 0x58, 0x5d, 0x76, 0xe9, 0x4a, 0xa4, 0x7d, 0x01, 0x1f, - 0x41, 0x32, 0x53, 0x62, 0xc0, 0xe2, 0x2a, 0xf7, 0x9e, 0xcc, 0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 0xbc, 0xb7, 0x0b, 0x2a, 0xca, 0xd4, 0xbb, 0x5b, 0xab, 0xeb, 0x16, 0xd5, 0x12, 0x69, - 0x62, 0x32, 0xba, 0x70, 0xcf, 0x2d, 0xa7, 0x3b, 0x2a, 0xe8, 0xe5, 0xde, 0xe5, 0x6c, 0xa1, 0xa1, - 0xf9, 0x42, 0x43, 0x5f, 0x0b, 0x0d, 0xbd, 0x2f, 0x35, 0x65, 0xbe, 0xd4, 0x94, 0x8f, 0xa5, 0xa6, - 0x3c, 0x9c, 0x04, 0x61, 0xfa, 0x42, 0xc7, 0x86, 0xcf, 0x22, 0x53, 0x5e, 0xc6, 0xea, 0x73, 0x2c, - 0x36, 0xe1, 0xcd, 0x2c, 0xac, 0x45, 0x3a, 0x4d, 0x60, 0x32, 0xae, 0x89, 0x67, 0x3b, 0xfd, 0x09, - 0x00, 0x00, 0xff, 0xff, 0x4b, 0x7d, 0xae, 0x04, 0x31, 0x02, 0x00, 0x00, + // 350 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xcd, 0x4a, 0xfb, 0x40, + 0x14, 0xc5, 0x33, 0xfd, 0xe2, 0xff, 0x1f, 0x51, 0xea, 0x50, 0x4a, 0x2c, 0x12, 0x8b, 0xab, 0x20, + 0x98, 0x48, 0xf5, 0x05, 0x5a, 0x92, 0xe2, 0x57, 0xad, 0x84, 0x68, 0xc1, 0x4d, 0x48, 0xc3, 0x35, + 0x0d, 0x92, 0x4c, 0x98, 0x46, 0xb1, 0x6f, 0xe1, 0x63, 0x75, 0xd9, 0xa5, 0x2b, 0x91, 0xf6, 0x05, + 0x7c, 0x04, 0xc9, 0x4c, 0x89, 0x03, 0x16, 0x57, 0xb9, 0xf7, 0x64, 0x7e, 0xe7, 0x1e, 0x66, 0x2e, + 0xd6, 0x99, 0xcf, 0xa2, 0x98, 0x06, 0x94, 0x81, 0x49, 0x53, 0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 0x89, 0x34, 0x31, 0x19, 0x5d, 0xb8, 0xe7, 0x96, 0xd3, 0x1d, 0x49, 0x7a, 0xb9, 0x77, 0x39, 0x5f, + 0x6a, 0x68, 0xb1, 0xd4, 0xd0, 0xe7, 0x52, 0x43, 0x6f, 0x2b, 0x4d, 0x59, 0xac, 0x34, 0xe5, 0x7d, + 0xa5, 0x29, 0x0f, 0x27, 0x61, 0x94, 0x4d, 0x9e, 0xc7, 0x46, 0x40, 0x63, 0x53, 0x5c, 0xc6, 0xfa, + 0x73, 0xcc, 0x37, 0xe1, 0xd5, 0x94, 0xd6, 0x22, 0x9b, 0xa5, 0x30, 0x1d, 0xd7, 0xf8, 0xb3, 0x9d, + 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0xee, 0x93, 0x85, 0x72, 0x31, 0x02, 0x00, 0x00, } func (m *FeeTokenManagement) Marshal() (dAtA []byte, err error) { diff --git a/x/rarimocore/types/op_identity_aggregated_transfer.pb.go b/x/rarimocore/types/op_identity_aggregated_transfer.pb.go index ff01014f..addca3d1 100644 --- a/x/rarimocore/types/op_identity_aggregated_transfer.pb.go +++ b/x/rarimocore/types/op_identity_aggregated_transfer.pb.go @@ -113,25 +113,25 @@ func init() { } var fileDescriptor_e61feb9c5fbd8544 = []byte{ - // 280 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0xb1, 0x4e, 0xf3, 0x30, - 0x14, 0x85, 0xeb, 0xff, 0x6f, 0x11, 0xb5, 0xc4, 0x12, 0x55, 0x22, 0x8a, 0x2a, 0xab, 0x42, 0x0c, - 0x5d, 0x48, 0x2a, 0xf1, 0x04, 0xb0, 0x40, 0x19, 0x43, 0x27, 0x96, 0xe8, 0x36, 0x35, 0xae, 0x05, - 0xf6, 0x8d, 0x9c, 0x3b, 0xd0, 0xb7, 0xe0, 0x49, 0x78, 0x0e, 0xc6, 0x8e, 0x8c, 0x28, 0x79, 0x11, - 0x54, 0x3b, 0xb4, 0x65, 0xf2, 0x39, 0xc7, 0xf7, 0xd3, 0x91, 0x0e, 0x9f, 0x39, 0x70, 0xda, 0x60, - 0x89, 0x4e, 0x66, 0x58, 0x15, 0x7a, 0x25, 0x2d, 0x69, 0xda, 0x14, 0xa0, 0x94, 0x93, 0x0a, 0x48, - 0xae, 0x0a, 0x72, 0x60, 0xeb, 0x67, 0xe9, 0xd2, 0xca, 0x21, 0x61, 0x34, 0x0e, 0x44, 0x7a, 0x00, - 0x8f, 0x64, 0x72, 0x4e, 0xf8, 0x22, 0xad, 0x01, 0x0b, 0x4a, 0xba, 0x4c, 0x93, 0x34, 0x01, 0x4b, - 0x46, 0x0a, 0x15, 0x7a, 0x99, 0xed, 0x54, 0x48, 0x2f, 0x3e, 0x18, 0x4f, 0xe6, 0x5d, 0xe7, 0xcd, - 0xbe, 0x72, 0xd1, 0x35, 0x46, 0x09, 0x3f, 0x2d, 0xd1, 0x92, 0x83, 0x92, 0x62, 0x36, 0x61, 0xd3, - 0x61, 0xbe, 0xf7, 0xd1, 0x88, 0x0f, 0xca, 0x35, 0x68, 0x1b, 0xff, 0xf3, 0x1f, 0xc1, 0xec, 0x88, - 0xbb, 0xf9, 0xe3, 0xe2, 0x1e, 0xea, 0x75, 0xfc, 0x3f, 0x10, 0xbf, 0x3e, 0xba, 0xe4, 0x67, 0x35, - 0x01, 0xc9, 0x1c, 0x91, 0xfc, 0xc1, 0xc0, 0x1f, 0xfc, 0x0d, 0xa3, 0x31, 0x1f, 0x92, 0x36, 0xb2, - 0x26, 0x30, 0x55, 0xdc, 0x9f, 0xb0, 0x69, 0x3f, 0x3f, 0x04, 0xb7, 0x0f, 0x9f, 0x8d, 0x60, 0xdb, - 0x46, 0xb0, 0xef, 0x46, 0xb0, 0xf7, 0x56, 0xf4, 0xb6, 0xad, 0xe8, 0x7d, 0xb5, 0xa2, 0xf7, 0x34, - 0x53, 0x9a, 0x5e, 0x61, 0x99, 0x96, 0x68, 0xb2, 0x30, 0x48, 0xf7, 0x5c, 0xf9, 0x71, 0xdf, 0xb2, - 0xa3, 0xa5, 0x69, 0x53, 0xc9, 0x7a, 0x79, 0xe2, 0x37, 0xb8, 0xfe, 0x09, 0x00, 0x00, 0xff, 0xff, - 0x3e, 0x33, 0x25, 0x36, 0x84, 0x01, 0x00, 0x00, + // 281 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0xc1, 0x4a, 0xf3, 0x40, + 0x14, 0x85, 0x3b, 0xff, 0xdf, 0x8a, 0x1d, 0x70, 0x13, 0x0a, 0x86, 0x50, 0x86, 0x22, 0x2e, 0xba, + 0xb1, 0x29, 0xf8, 0x04, 0xba, 0xd1, 0xba, 0x8c, 0x5d, 0xb9, 0x09, 0xd3, 0xf4, 0x3a, 0x19, 0x64, + 0xe6, 0x86, 0xc9, 0x15, 0xec, 0x5b, 0xf8, 0x24, 0x3e, 0x87, 0xcb, 0x2e, 0x5d, 0x4a, 0xf2, 0x22, + 0xd2, 0x99, 0xd8, 0xd6, 0xd5, 0x9c, 0x73, 0xe6, 0x7e, 0x1c, 0x38, 0x7c, 0xee, 0xa4, 0xd3, 0x06, + 0x0b, 0x74, 0x90, 0x62, 0x95, 0xeb, 0x35, 0x58, 0xd2, 0xb4, 0xc9, 0xa5, 0x52, 0x0e, 0x94, 0x24, + 0x58, 0xe7, 0xe4, 0xa4, 0xad, 0x9f, 0xc1, 0xcd, 0x2a, 0x87, 0x84, 0xd1, 0x38, 0x10, 0xb3, 0x03, + 0x78, 0x24, 0x93, 0x73, 0xc2, 0x17, 0xb0, 0x46, 0x5a, 0xa9, 0xc0, 0xa5, 0x9a, 0xc0, 0x04, 0x2c, + 0x19, 0x29, 0x54, 0xe8, 0x65, 0xba, 0x53, 0x21, 0xbd, 0xf8, 0x60, 0x3c, 0x59, 0x74, 0x9d, 0x37, + 0xfb, 0xca, 0x65, 0xd7, 0x18, 0x25, 0xfc, 0xb4, 0x40, 0x4b, 0x4e, 0x16, 0x14, 0xb3, 0x09, 0x9b, + 0x0e, 0xb3, 0xbd, 0x8f, 0x46, 0x7c, 0x50, 0x94, 0x52, 0xdb, 0xf8, 0x9f, 0xff, 0x08, 0x66, 0x47, + 0xdc, 0x2d, 0x1e, 0x97, 0xf7, 0xb2, 0x2e, 0xe3, 0xff, 0x81, 0xf8, 0xf5, 0xd1, 0x25, 0x3f, 0xab, + 0x49, 0x12, 0x64, 0x88, 0xe4, 0x0f, 0x06, 0xfe, 0xe0, 0x6f, 0x18, 0x8d, 0xf9, 0x90, 0xb4, 0x81, + 0x9a, 0xa4, 0xa9, 0xe2, 0xfe, 0x84, 0x4d, 0xfb, 0xd9, 0x21, 0xb8, 0x7d, 0xf8, 0x6c, 0x04, 0xdb, + 0x36, 0x82, 0x7d, 0x37, 0x82, 0xbd, 0xb7, 0xa2, 0xb7, 0x6d, 0x45, 0xef, 0xab, 0x15, 0xbd, 0xa7, + 0xb9, 0xd2, 0x54, 0xbe, 0xae, 0x66, 0x05, 0x9a, 0x34, 0x0c, 0xd2, 0x3d, 0x57, 0x7e, 0xdc, 0xb7, + 0xf4, 0x68, 0x69, 0xda, 0x54, 0x50, 0xaf, 0x4e, 0xfc, 0x06, 0xd7, 0x3f, 0x01, 0x00, 0x00, 0xff, + 0xff, 0x9b, 0xdd, 0x0e, 0x40, 0x84, 0x01, 0x00, 0x00, } func (m *IdentityAggregatedTransfer) Marshal() (dAtA []byte, err error) { diff --git a/x/rarimocore/types/op_identity_default_transfer.pb.go b/x/rarimocore/types/op_identity_default_transfer.pb.go index 343d6531..97de3938 100644 --- a/x/rarimocore/types/op_identity_default_transfer.pb.go +++ b/x/rarimocore/types/op_identity_default_transfer.pb.go @@ -184,29 +184,29 @@ var fileDescriptor_0a957d0fc92995af = []byte{ // 392 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xcf, 0x6e, 0xda, 0x40, 0x10, 0xc6, 0x31, 0x05, 0x5a, 0xb6, 0x2d, 0x85, 0x2d, 0x2a, 0x16, 0x42, 0x56, 0xd5, 0x43, 0x85, - 0xaa, 0x62, 0x23, 0x55, 0xaa, 0x7a, 0x2d, 0xad, 0x94, 0x90, 0x23, 0x70, 0xca, 0x05, 0x2d, 0xf6, - 0x62, 0x56, 0xd8, 0x5e, 0x6b, 0x3d, 0x91, 0xc2, 0x5b, 0xe4, 0x92, 0x77, 0xca, 0x91, 0x63, 0x8e, - 0x11, 0xbc, 0x48, 0xe4, 0x59, 0xf3, 0x1f, 0x4e, 0x9e, 0xf9, 0x7d, 0xdf, 0xa7, 0x19, 0xdb, 0x43, - 0x3a, 0x8a, 0x29, 0x11, 0x4a, 0x57, 0x2a, 0xee, 0xc8, 0x78, 0x2c, 0x3c, 0x1e, 0x81, 0x80, 0xc5, - 0xd8, 0xe3, 0x53, 0x76, 0x17, 0xc0, 0x18, 0x14, 0x8b, 0x92, 0x29, 0x57, 0x76, 0xac, 0x24, 0x48, - 0xda, 0xd2, 0x76, 0x7b, 0x97, 0xda, 0x2b, 0x9b, 0x0d, 0x90, 0x73, 0x1e, 0x85, 0x2c, 0x62, 0x3e, - 0x57, 0x8e, 0x00, 0x1e, 0xea, 0x58, 0xb3, 0xee, 0x4b, 0x5f, 0x62, 0xe9, 0xa4, 0x95, 0xa6, 0xdf, - 0x1e, 0x0b, 0xa4, 0xd1, 0xcf, 0x06, 0xfe, 0xd7, 0xf3, 0x46, 0xd9, 0x38, 0xda, 0x24, 0xef, 0x5c, - 0x19, 0x81, 0x62, 0x2e, 0x98, 0xc6, 0x57, 0xa3, 0x5d, 0x1e, 0x6c, 0x7b, 0x5a, 0x27, 0x45, 0x77, - 0xc6, 0x44, 0x64, 0xe6, 0x51, 0xd0, 0x4d, 0x9a, 0xb8, 0xea, 0x0f, 0x47, 0xd7, 0x2c, 0x99, 0x99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0x3c, 0xb5, 0x5f, 0xaf, 0x01, 0x00, 0x00, 0xff, 0xff, - 0x8e, 0x65, 0xe1, 0x32, 0xe8, 0x02, 0x00, 0x00, + 0xaa, 0x62, 0x23, 0x55, 0xaa, 0x7a, 0x2d, 0x89, 0x94, 0x90, 0x23, 0x70, 0xca, 0x05, 0x2d, 0xf6, + 0x62, 0x56, 0x60, 0xaf, 0xb5, 0x1e, 0xa4, 0xf0, 0x16, 0xb9, 0xe4, 0x9d, 0x72, 0xe4, 0x98, 0x63, + 0x04, 0x2f, 0x12, 0x79, 0xd6, 0xfc, 0x87, 0x93, 0x67, 0x7e, 0xdf, 0xf7, 0x69, 0xc6, 0xf6, 0x90, + 0x96, 0x62, 0x4a, 0x04, 0xd2, 0x95, 0x8a, 0x3b, 0x32, 0x1a, 0x0a, 0x8f, 0x87, 0x20, 0x60, 0x31, + 0xf4, 0xf8, 0x98, 0xcd, 0x67, 0x30, 0x04, 0xc5, 0xc2, 0x78, 0xcc, 0x95, 0x1d, 0x29, 0x09, 0x92, + 0x36, 0xb4, 0xdd, 0xde, 0xa5, 0xf6, 0xca, 0x7a, 0x0d, 0xe4, 0x94, 0x87, 0x01, 0x0b, 0x99, 0xcf, + 0x95, 0x23, 0x80, 0x07, 0x3a, 0x56, 0xaf, 0xfa, 0xd2, 0x97, 0x58, 0x3a, 0x49, 0xa5, 0xe9, 0x8f, + 0xa7, 0x1c, 0xa9, 0x75, 0xd3, 0x81, 0xd7, 0x7a, 0xde, 0x20, 0x1d, 0x47, 0xeb, 0xe4, 0x83, 0x2b, + 0x43, 0x50, 0xcc, 0x05, 0xd3, 0xf8, 0x6e, 0x34, 0x8b, 0xbd, 0x6d, 0x4f, 0xab, 0x24, 0xef, 0x4e, + 0x98, 0x08, 0xcd, 0x2c, 0x0a, 0xba, 0x49, 0x12, 0x37, 0xdd, 0xfe, 0xe0, 0x96, 0xc5, 0x13, 0xf3, + 0x9d, 0x4e, 0x6c, 0x7a, 0x5a, 0x22, 0x59,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00, 0xff, 0xff, + 0x2b, 0x8b, 0xca, 0x44, 0xe8, 0x02, 0x00, 0x00, } func (m *IdentityDefaultTransfer) Marshal() (dAtA []byte, err error) { diff --git a/x/rarimocore/types/op_identity_gist_transfer.pb.go b/x/rarimocore/types/op_identity_gist_transfer.pb.go new file mode 100644 index 00000000..fe8166d6 --- /dev/null +++ b/x/rarimocore/types/op_identity_gist_transfer.pb.go @@ -0,0 +1,586 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: rarimocore/op_identity_gist_transfer.proto + +package types + +import ( + fmt "fmt" + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + _ "github.com/rarimo/rarimo-core/x/tokenmanager/types" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type IdentityGISTTransfer struct { + // Hex 0x + Contract string `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"` + Chain string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"` + // Hex 0x + GISTHash string `protobuf:"bytes,3,opt,name=GISTHash,proto3" json:"GISTHash,omitempty"` + // Dec + GISTCreatedAtTimestamp string `protobuf:"bytes,5,opt,name=GISTCreatedAtTimestamp,proto3" json:"GISTCreatedAtTimestamp,omitempty"` + GISTCreatedAtBlock string `protobuf:"bytes,6,opt,name=GISTCreatedAtBlock,proto3" json:"GISTCreatedAtBlock,omitempty"` + // HEX 0x + ReplacedGISTHash string `protobuf:"bytes,7,opt,name=replacedGISTHash,proto3" json:"replacedGISTHash,omitempty"` +} + +func (m *IdentityGISTTransfer) Reset() { *m = IdentityGISTTransfer{} } +func (m *IdentityGISTTransfer) String() string { return proto.CompactTextString(m) } +func (*IdentityGISTTransfer) ProtoMessage() {} +func (*IdentityGISTTransfer) Descriptor() ([]byte, []int) { + return fileDescriptor_bbb4947a344a09f5, []int{0} +} +func (m *IdentityGISTTransfer) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *IdentityGISTTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_IdentityGISTTransfer.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *IdentityGISTTransfer) XXX_Merge(src proto.Message) { + xxx_messageInfo_IdentityGISTTransfer.Merge(m, src) +} +func (m *IdentityGISTTransfer) XXX_Size() int { + return m.Size() +} +func (m *IdentityGISTTransfer) XXX_DiscardUnknown() { + xxx_messageInfo_IdentityGISTTransfer.DiscardUnknown(m) +} + +var xxx_messageInfo_IdentityGISTTransfer proto.InternalMessageInfo + +func (m *IdentityGISTTransfer) GetContract() string { + if m != nil { + return m.Contract + } + return "" +} + +func (m *IdentityGISTTransfer) GetChain() string { + if m != nil { + return m.Chain + } + return "" +} + +func (m *IdentityGISTTransfer) GetGISTHash() string { + if m != nil { + return m.GISTHash + } + return "" +} + +func (m *IdentityGISTTransfer) GetGISTCreatedAtTimestamp() string { + if m != nil { + return m.GISTCreatedAtTimestamp + } + return "" +} + +func (m *IdentityGISTTransfer) GetGISTCreatedAtBlock() string { + if m != nil { + return m.GISTCreatedAtBlock + } + return "" +} + +func (m *IdentityGISTTransfer) GetReplacedGISTHash() string { + if m != nil { + return m.ReplacedGISTHash + } + return "" +} + +func init() { + proto.RegisterType((*IdentityGISTTransfer)(nil), "rarimo.rarimocore.rarimocore.IdentityGISTTransfer") +} + +func init() { + proto.RegisterFile("rarimocore/op_identity_gist_transfer.proto", fileDescriptor_bbb4947a344a09f5) +} + +var fileDescriptor_bbb4947a344a09f5 = []byte{ + // 298 bytes of a gzipped FileDescriptorProto + 0x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4, 0x27, 0x67, 0xe7, 0x74, 0xaf, 0xc1, 0x97, 0x0e, + 0x04, 0x42, 0x7a, 0x81, 0x13, 0xa5, 0xa1, 0x44, 0xa1, 0x8b, 0xa8, 0xeb, 0x9d, 0x7f, 0xa8, 0x2c, + 0xa6, 0xec, 0x9b, 0x32, 0x5a, 0x58, 0x39, 0x8f, 0x7a, 0x3e, 0xf3, 0x8b, 0xc2, 0x86, 0x74, 0xd7, + 0x41, 0xb1, 0x10, 0x12, 0xd2, 0xf5, 0x2c, 0x5b, 0xde, 0xfd, 0xa3, 0x3e, 0xba, 0x79, 0xa9, 0x38, + 0x59, 0x55, 0x9c, 0xbc, 0x55, 0x9c, 0x3c, 0xd7, 0xbc, 0xb3, 0xaa, 0x79, 0xe7, 0xb5, 0xe6, 0x9d, + 0xfb, 0xd3, 0x4c, 0x61, 0xfe, 0x38, 0x8b, 0xa5, 0xd5, 0x49, 0x58, 0x6d, 0xfb, 0x9c, 0xf8, 0x03, + 0x3d, 0x25, 0x1b, 0xd7, 0xc2, 0x65, 0x01, 0xe5, 0xac, 0xe7, 0xb7, 0x79, 0xf6, 0x11, 0x00, 0x00, + 0xff, 0xff, 0x26, 0xc0, 0x0b, 0x5b, 0xc8, 0x01, 0x00, 0x00, +} + +func (m *IdentityGISTTransfer) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *IdentityGISTTransfer) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *IdentityGISTTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.ReplacedGISTHash) > 0 { + i -= len(m.ReplacedGISTHash) + copy(dAtA[i:], m.ReplacedGISTHash) + i = encodeVarintOpIdentityGistTransfer(dAtA, i, uint64(len(m.ReplacedGISTHash))) + i-- + dAtA[i] = 0x3a + } + if len(m.GISTCreatedAtBlock) > 0 { + i -= len(m.GISTCreatedAtBlock) + copy(dAtA[i:], m.GISTCreatedAtBlock) + i = encodeVarintOpIdentityGistTransfer(dAtA, i, uint64(len(m.GISTCreatedAtBlock))) + i-- + dAtA[i] = 0x32 + } + if len(m.GISTCreatedAtTimestamp) > 0 { + i -= len(m.GISTCreatedAtTimestamp) + copy(dAtA[i:], m.GISTCreatedAtTimestamp) + i = encodeVarintOpIdentityGistTransfer(dAtA, i, uint64(len(m.GISTCreatedAtTimestamp))) + i-- + dAtA[i] = 0x2a + } + if len(m.GISTHash) > 0 { + i -= len(m.GISTHash) + copy(dAtA[i:], m.GISTHash) + i = encodeVarintOpIdentityGistTransfer(dAtA, i, uint64(len(m.GISTHash))) + i-- + dAtA[i] = 0x1a + } + if len(m.Chain) > 0 { + i -= len(m.Chain) + copy(dAtA[i:], m.Chain) + i = encodeVarintOpIdentityGistTransfer(dAtA, i, uint64(len(m.Chain))) + i-- + dAtA[i] = 0x12 + } + if len(m.Contract) > 0 { + i -= len(m.Contract) + copy(dAtA[i:], m.Contract) + i = encodeVarintOpIdentityGistTransfer(dAtA, i, uint64(len(m.Contract))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintOpIdentityGistTransfer(dAtA []byte, offset int, v uint64) int { + offset -= sovOpIdentityGistTransfer(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *IdentityGISTTransfer) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Contract) + if l > 0 { + n += 1 + l + sovOpIdentityGistTransfer(uint64(l)) + } + l = len(m.Chain) + if l > 0 { + n += 1 + l + sovOpIdentityGistTransfer(uint64(l)) + } + l = len(m.GISTHash) + if l > 0 { + n += 1 + l + sovOpIdentityGistTransfer(uint64(l)) + } + l = len(m.GISTCreatedAtTimestamp) + if l > 0 { + n += 1 + l + sovOpIdentityGistTransfer(uint64(l)) + } + l = len(m.GISTCreatedAtBlock) + if l > 0 { + n += 1 + l + sovOpIdentityGistTransfer(uint64(l)) + } + l = len(m.ReplacedGISTHash) + if l > 0 { + n += 1 + l + sovOpIdentityGistTransfer(uint64(l)) + } + return n +} + +func sovOpIdentityGistTransfer(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozOpIdentityGistTransfer(x uint64) (n int) { + return sovOpIdentityGistTransfer(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *IdentityGISTTransfer) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOpIdentityGistTransfer + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: IdentityGISTTransfer: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: IdentityGISTTransfer: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Contract", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOpIdentityGistTransfer + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthOpIdentityGistTransfer + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthOpIdentityGistTransfer + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Contract = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Chain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOpIdentityGistTransfer + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthOpIdentityGistTransfer + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthOpIdentityGistTransfer + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Chain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GISTHash", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOpIdentityGistTransfer + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthOpIdentityGistTransfer + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthOpIdentityGistTransfer + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GISTHash = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GISTCreatedAtTimestamp", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOpIdentityGistTransfer + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthOpIdentityGistTransfer + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthOpIdentityGistTransfer + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GISTCreatedAtTimestamp = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GISTCreatedAtBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOpIdentityGistTransfer + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthOpIdentityGistTransfer + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthOpIdentityGistTransfer + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GISTCreatedAtBlock = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ReplacedGISTHash", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOpIdentityGistTransfer + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthOpIdentityGistTransfer + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthOpIdentityGistTransfer + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ReplacedGISTHash = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipOpIdentityGistTransfer(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthOpIdentityGistTransfer + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipOpIdentityGistTransfer(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowOpIdentityGistTransfer + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowOpIdentityGistTransfer + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowOpIdentityGistTransfer + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthOpIdentityGistTransfer + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupOpIdentityGistTransfer + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthOpIdentityGistTransfer + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthOpIdentityGistTransfer = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowOpIdentityGistTransfer = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupOpIdentityGistTransfer = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/rarimocore/types/op_identity_state_transfer.pb.go b/x/rarimocore/types/op_identity_state_transfer.pb.go new file mode 100644 index 00000000..7617d773 --- /dev/null +++ b/x/rarimocore/types/op_identity_state_transfer.pb.go @@ -0,0 +1,639 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: rarimocore/op_identity_state_transfer.proto + +package types + +import ( + fmt "fmt" + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + _ "github.com/rarimo/rarimo-core/x/tokenmanager/types" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type IdentityStateTransfer struct { + // Hex 0x + Contract string `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"` + Chain string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"` + // Hex 0x + Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"` + // Hex 0x + StateHash string `protobuf:"bytes,5,opt,name=stateHash,proto3" json:"stateHash,omitempty"` + // Dec + StateCreatedAtTimestamp string `protobuf:"bytes,6,opt,name=stateCreatedAtTimestamp,proto3" json:"stateCreatedAtTimestamp,omitempty"` + StateCreatedAtBlock string `protobuf:"bytes,7,opt,name=stateCreatedAtBlock,proto3" json:"stateCreatedAtBlock,omitempty"` + // HEX 0x + ReplacedStateHash string `protobuf:"bytes,8,opt,name=replacedStateHash,proto3" json:"replacedStateHash,omitempty"` +} + +func (m *IdentityStateTransfer) Reset() { *m = IdentityStateTransfer{} } +func (m *IdentityStateTransfer) String() string { return proto.CompactTextString(m) } +func (*IdentityStateTransfer) ProtoMessage() {} +func (*IdentityStateTransfer) Descriptor() ([]byte, []int) { + return fileDescriptor_fcd43df965f00bce, []int{0} +} +func (m *IdentityStateTransfer) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *IdentityStateTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_IdentityStateTransfer.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *IdentityStateTransfer) XXX_Merge(src proto.Message) { + xxx_messageInfo_IdentityStateTransfer.Merge(m, src) +} +func (m *IdentityStateTransfer) XXX_Size() int { + return m.Size() +} +func (m *IdentityStateTransfer) XXX_DiscardUnknown() { + xxx_messageInfo_IdentityStateTransfer.DiscardUnknown(m) +} + +var xxx_messageInfo_IdentityStateTransfer proto.InternalMessageInfo + +func (m *IdentityStateTransfer) GetContract() string { + if m != nil { + return m.Contract + } + return "" +} + +func (m *IdentityStateTransfer) GetChain() string { + if m != nil { + return m.Chain + } + return "" +} + +func (m *IdentityStateTransfer) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *IdentityStateTransfer) GetStateHash() string { + if m != nil { + return m.StateHash + } + return "" +} + +func (m *IdentityStateTransfer) GetStateCreatedAtTimestamp() string { + if m != nil { + return m.StateCreatedAtTimestamp + } + return "" +} + +func (m *IdentityStateTransfer) GetStateCreatedAtBlock() string { + if m != nil { + return m.StateCreatedAtBlock + } + return "" +} + +func (m *IdentityStateTransfer) GetReplacedStateHash() string { + if m != nil { + return m.ReplacedStateHash + } + return "" +} + +func init() { + proto.RegisterType((*IdentityStateTransfer)(nil), "rarimo.rarimocore.rarimocore.IdentityStateTransfer") +} + +func init() { + proto.RegisterFile("rarimocore/op_identity_state_transfer.proto", fileDescriptor_fcd43df965f00bce) +} + +var fileDescriptor_fcd43df965f00bce = []byte{ + // 308 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff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x25, 0xe8, 0x35, 0xe9, 0x78, 0x70, 0xeb, 0x40, 0x20, 0xc4, 0x37, 0x38, 0x56, 0x1a, 0x32, 0x14, + 0x3a, 0x65, 0x0d, 0xef, 0xfd, 0x4f, 0xa6, 0x03, 0x72, 0xf4, 0x53, 0x1a, 0x2e, 0xac, 0x9c, 0xb3, + 0x7d, 0x9f, 0xfa, 0x4b, 0xa2, 0x17, 0xe4, 0xd0, 0x41, 0xba, 0x10, 0x12, 0xe2, 0xd1, 0xe6, 0x8f, + 0x9a, 0xde, 0xff, 0x5b, 0x18, 0x3e, 0x7c, 0xe4, 0x3c, 0x58, 0xe5, 0x3c, 0xf8, 0xca, 0x79, 0xf0, + 0x56, 0xf0, 0xda, 0xaa, 0xe0, 0xb5, 0xcf, 0x82, 0xd7, 0x9e, 0x06, 0x89, 0xc2, 0xd9, 0xcb, 0xb4, + 0x2f, 0xad, 0x8e, 0xca, 0x9d, 0x57, 0x9f, 0x4b, 0x7f, 0xba, 0xd7, 0x68, 0xe7, 0x8e, 0xb8, 0x4c, + 0x21, 0x9b, 0x36, 0xfc, 0x9a, 0xaf, 0xbe, 0x03, 0x00, 0x00, 0xff, 0xff, 0xe7, 0x6b, 0xbf, 0x43, + 0xe2, 0x01, 0x00, 0x00, +} + +func (m *IdentityStateTransfer) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *IdentityStateTransfer) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *IdentityStateTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.ReplacedStateHash) > 0 { + i -= len(m.ReplacedStateHash) + copy(dAtA[i:], m.ReplacedStateHash) + i = encodeVarintOpIdentityStateTransfer(dAtA, i, uint64(len(m.ReplacedStateHash))) + i-- + dAtA[i] = 0x42 + } + if len(m.StateCreatedAtBlock) > 0 { + i -= len(m.StateCreatedAtBlock) + copy(dAtA[i:], m.StateCreatedAtBlock) + i = encodeVarintOpIdentityStateTransfer(dAtA, i, uint64(len(m.StateCreatedAtBlock))) + i-- + dAtA[i] = 0x3a + } + if len(m.StateCreatedAtTimestamp) > 0 { + i -= len(m.StateCreatedAtTimestamp) + copy(dAtA[i:], m.StateCreatedAtTimestamp) + i = encodeVarintOpIdentityStateTransfer(dAtA, i, uint64(len(m.StateCreatedAtTimestamp))) + i-- + dAtA[i] = 0x32 + } + if len(m.StateHash) > 0 { + i -= len(m.StateHash) + copy(dAtA[i:], m.StateHash) + i = encodeVarintOpIdentityStateTransfer(dAtA, i, uint64(len(m.StateHash))) + i-- + dAtA[i] = 0x2a + } + if len(m.Id) > 0 { + i -= len(m.Id) + copy(dAtA[i:], m.Id) + i = encodeVarintOpIdentityStateTransfer(dAtA, i, uint64(len(m.Id))) + i-- + dAtA[i] = 0x22 + } + if len(m.Chain) > 0 { + i -= len(m.Chain) + copy(dAtA[i:], m.Chain) + i = encodeVarintOpIdentityStateTransfer(dAtA, i, uint64(len(m.Chain))) + i-- + dAtA[i] = 0x12 + } + if len(m.Contract) > 0 { + i -= len(m.Contract) + copy(dAtA[i:], m.Contract) + i = encodeVarintOpIdentityStateTransfer(dAtA, i, uint64(len(m.Contract))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintOpIdentityStateTransfer(dAtA []byte, offset int, v uint64) int { + offset -= sovOpIdentityStateTransfer(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *IdentityStateTransfer) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Contract) + if l > 0 { + n += 1 + l + sovOpIdentityStateTransfer(uint64(l)) + } + l = len(m.Chain) + if l > 0 { + n += 1 + l + sovOpIdentityStateTransfer(uint64(l)) + } + l = len(m.Id) + if l > 0 { + n += 1 + l + sovOpIdentityStateTransfer(uint64(l)) + } + l = len(m.StateHash) + if l > 0 { + n += 1 + l + sovOpIdentityStateTransfer(uint64(l)) + } + l = len(m.StateCreatedAtTimestamp) + if l > 0 { + n += 1 + l + sovOpIdentityStateTransfer(uint64(l)) + } + l = len(m.StateCreatedAtBlock) + if l > 0 { + n += 1 + l + sovOpIdentityStateTransfer(uint64(l)) + } + l = len(m.ReplacedStateHash) + if l > 0 { + n += 1 + l + sovOpIdentityStateTransfer(uint64(l)) + } + return n +} + +func sovOpIdentityStateTransfer(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozOpIdentityStateTransfer(x uint64) (n int) { + return sovOpIdentityStateTransfer(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *IdentityStateTransfer) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOpIdentityStateTransfer + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: IdentityStateTransfer: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: IdentityStateTransfer: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Contract", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOpIdentityStateTransfer + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthOpIdentityStateTransfer + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthOpIdentityStateTransfer + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Contract = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Chain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOpIdentityStateTransfer + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthOpIdentityStateTransfer + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthOpIdentityStateTransfer + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Chain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOpIdentityStateTransfer + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthOpIdentityStateTransfer + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthOpIdentityStateTransfer + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Id = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StateHash", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOpIdentityStateTransfer + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthOpIdentityStateTransfer + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthOpIdentityStateTransfer + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.StateHash = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StateCreatedAtTimestamp", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOpIdentityStateTransfer + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthOpIdentityStateTransfer + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthOpIdentityStateTransfer + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.StateCreatedAtTimestamp = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StateCreatedAtBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOpIdentityStateTransfer + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthOpIdentityStateTransfer + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthOpIdentityStateTransfer + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.StateCreatedAtBlock = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ReplacedStateHash", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOpIdentityStateTransfer + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthOpIdentityStateTransfer + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthOpIdentityStateTransfer + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ReplacedStateHash = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipOpIdentityStateTransfer(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthOpIdentityStateTransfer + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipOpIdentityStateTransfer(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowOpIdentityStateTransfer + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowOpIdentityStateTransfer + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowOpIdentityStateTransfer + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthOpIdentityStateTransfer + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupOpIdentityStateTransfer + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthOpIdentityStateTransfer + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthOpIdentityStateTransfer = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowOpIdentityStateTransfer = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupOpIdentityStateTransfer = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/rarimocore/types/op_transfer.pb.go b/x/rarimocore/types/op_transfer.pb.go index 41b4f4b5..8fb17145 100644 --- a/x/rarimocore/types/op_transfer.pb.go +++ b/x/rarimocore/types/op_transfer.pb.go @@ -163,30 +163,30 @@ func init() { func init() { proto.RegisterFile("rarimocore/op_transfer.proto", fileDescriptor_5b795acb1df5370f) } var fileDescriptor_5b795acb1df5370f = []byte{ - // 363 bytes of a gzipped FileDescriptorProto + // 364 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x92, 0xcf, 0x4a, 0xeb, 0x40, - 0x14, 0xc6, 0x93, 0x34, 0xb7, 0x7f, 0xa6, 0x70, 0x17, 0xc3, 0xe5, 0x3a, 0x14, 0x89, 0xc5, 0x55, - 0x17, 0x9a, 0x14, 0x7d, 0x01, 0xa9, 0x22, 0xb4, 0x20, 0x42, 0x75, 0xe5, 0x46, 0xa6, 0xcd, 0x69, - 0x0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 0xe5, 0xf9, 0x94, 0xa7, + 0xb2, 0x8f, 0x20, 0xfa, 0x32, 0x86, 0xac, 0xe7, 0xaf, 0x5f, 0x0f, 0x9c, 0xa1, 0x61, 0xd0, 0x4b, + 0xe2, 0xa1, 0x62, 0xe4, 0x47, 0x24, 0x0f, 0x15, 0x3d, 0x23, 0xbe, 0x00, 0xe4, 0xac, 0x69, 0x48, + 0x47, 0xdf, 0x91, 0x72, 0xc4, 0x15, 0x20, 0x8f, 0x39, 0xf2, 0xa1, 0x69, 0xf6, 0x06, 0xeb, 0x6d, + 0xe0, 0x6e, 0xb6, 0x81, 0xfb, 0xb6, 0x0d, 0xdc, 0xa7, 0x5d, 0xe0, 0x6c, 0x76, 0x81, 0xf3, 0xb2, + 0x0b, 0x9c, 0xbb, 0x6e, 0x92, 0xe2, 0x74, 0x39, 0x0a, 0xc7, 0x4a, 0x44, 0x16, 0x58, 0x3c, 0xc7, + 0xe6, 0x90, 0xb2, 0xa8, 0x74, 0x55, 0xf8, 0x38, 0x87, 0xc5, 0xa8, 0x6a, 0x6e, 0xe0, 0xf4, 0x3d, + 0x00, 0x00, 0xff, 0xff, 0x03, 0x3f, 0xff, 0x26, 0x70, 0x02, 0x00, 0x00, } func (m *Transfer) Marshal() (dAtA []byte, err error) { diff --git a/x/rarimocore/types/op_worldcoin_identity_transfer.pb.go b/x/rarimocore/types/op_worldcoin_identity_transfer.pb.go new file mode 100644 index 00000000..08193eb9 --- /dev/null +++ b/x/rarimocore/types/op_worldcoin_identity_transfer.pb.go @@ -0,0 +1,566 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: rarimocore/op_worldcoin_identity_transfer.proto + +package types + +import ( + fmt "fmt" + proto "github.com/gogo/protobuf/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type WorldCoinIdentityTransfer struct { + Contract string `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"` + Chain string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"` + // Hex 0x uint256 + PrevState string `protobuf:"bytes,3,opt,name=prevState,proto3" json:"prevState,omitempty"` + // Hex 0x uint256 + State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` + // Dec uint256 + Timestamp string `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + // simplifies voting flow + BlockNumber uint64 `protobuf:"varint,6,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` +} + +func (m *WorldCoinIdentityTransfer) Reset() { *m = WorldCoinIdentityTransfer{} } +func (m *WorldCoinIdentityTransfer) String() string { return proto.CompactTextString(m) } +func (*WorldCoinIdentityTransfer) ProtoMessage() {} +func (*WorldCoinIdentityTransfer) Descriptor() ([]byte, []int) { + return fileDescriptor_a897c477db0590c9, []int{0} +} +func (m *WorldCoinIdentityTransfer) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WorldCoinIdentityTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WorldCoinIdentityTransfer.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WorldCoinIdentityTransfer) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorldCoinIdentityTransfer.Merge(m, src) +} +func (m *WorldCoinIdentityTransfer) XXX_Size() int { + return m.Size() +} +func (m *WorldCoinIdentityTransfer) XXX_DiscardUnknown() { + xxx_messageInfo_WorldCoinIdentityTransfer.DiscardUnknown(m) +} + +var xxx_messageInfo_WorldCoinIdentityTransfer proto.InternalMessageInfo + +func (m *WorldCoinIdentityTransfer) GetContract() string { + if m != nil { + return m.Contract + } + return "" +} + +func (m *WorldCoinIdentityTransfer) GetChain() string { + if m != nil { + return m.Chain + } + return "" +} + +func (m *WorldCoinIdentityTransfer) GetPrevState() string { + if m != nil { + return m.PrevState + } + return "" +} + +func (m *WorldCoinIdentityTransfer) GetState() string { + if m != nil { + return m.State + } + return "" +} + +func (m *WorldCoinIdentityTransfer) GetTimestamp() string { + if m != nil { + return m.Timestamp + } + return "" +} + +func (m *WorldCoinIdentityTransfer) GetBlockNumber() uint64 { + if m != nil { + return m.BlockNumber + } + return 0 +} + +func init() { + proto.RegisterType((*WorldCoinIdentityTransfer)(nil), "rarimo.rarimocore.rarimocore.WorldCoinIdentityTransfer") +} + +func init() { + proto.RegisterFile("rarimocore/op_worldcoin_identity_transfer.proto", fileDescriptor_a897c477db0590c9) +} + +var fileDescriptor_a897c477db0590c9 = []byte{ + // 263 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0x31, 0x4f, 0xc3, 0x30, + 0x10, 0x85, 0x63, 0x68, 0x2b, 0x6a, 0xb6, 0x88, 0x21, 0xa0, 0xca, 0x8a, 0x98, 0xba, 0x90, 0x22, + 0xf1, 0x0f, 0x60, 0x82, 0x81, 0xa1, 0x20, 0x21, 0xb1, 0x44, 0x8e, 0x6b, 0xa8, 0x45, 0xed, 0xb3, + 0x2e, 0x57, 0xa0, 0xff, 0x82, 0xbf, 0xc4, 0xc6, 0xd8, 0x91, 0x11, 0x25, 0x7f, 0x04, 0xc5, 0x89, + 0xda, 0x4c, 0x77, 0xef, 0x3d, 0x7d, 0x6f, 0x78, 0x7c, 0x86, 0x12, 0x8d, 0x05, 0x05, 0xa8, 0x67, + 0xe0, 0xf3, 0x0f, 0xc0, 0xd5, 0x42, 0x81, 0x71, 0xb9, 0x59, 0x68, 0x47, 0x86, 0x36, 0x39, 0xa1, + 0x74, 0xe5, 0x8b, 0xc6, 0xcc, 0x23, 0x10, 0xc4, 0x93, 0x16, 0xc8, 0xf6, 0x5c, 0xef, 0x3d, 0xff, + 0x66, 0xfc, 0xf4, 0xa9, 0xe9, 0xb8, 0x01, 0xe3, 0x6e, 0xbb, 0x8a, 0xc7, 0xae, 0x21, 0x3e, 0xe3, + 0x47, 0x0a, 0x1c, 0xa1, 0x54, 0x94, 0xb0, 0x94, 0x4d, 0xc7, 0xf3, 0x9d, 0x8e, 0x4f, 0xf8, 0x50, + 0x2d, 0xa5, 0x71, 0xc9, 0x41, 0x08, 0x5a, 0x11, 0x4f, 0xf8, 0xd8, 0xa3, 0x7e, 0x7f, 0x20, 0x49, + 0x3a, 0x39, 0x0c, 0xc9, 0xde, 0x68, 0x98, 0x32, 0x24, 0x83, 0x96, 0x09, 0xa2, 0x61, 0xc8, 0x58, + 0x5d, 0x92, 0xb4, 0x3e, 0x19, 0xb6, 0xcc, 0xce, 0x88, 0x53, 0x7e, 0x5c, 0xac, 0x40, 0xbd, 0xdd, + 0xaf, 0x6d, 0xa1, 0x31, 0x19, 0xa5, 0x6c, 0x3a, 0x98, 0xf7, 0xad, 0xeb, 0xbb, 0x9f, 0x4a, 0xb0, + 0x6d, 0x25, 0xd8, 0x5f, 0x25, 0xd8, 0x57, 0x2d, 0xa2, 0x6d, 0x2d, 0xa2, 0xdf, 0x5a, 0x44, 0xcf, + 0x97, 0xaf, 0x86, 0x96, 0xeb, 0x22, 0x53, 0x60, 0xbb, 0xdd, 0xba, 0x73, 0x11, 0xf6, 0xfb, 0xec, + 0x8f, 0x49, 0x1b, 0xaf, 0xcb, 0x62, 0x14, 0x46, 0xbb, 0xfa, 0x0f, 0x00, 0x00, 0xff, 0xff, 0x5d, + 0x0f, 0x47, 0x3a, 0x67, 0x01, 0x00, 0x00, +} + +func (m *WorldCoinIdentityTransfer) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorldCoinIdentityTransfer) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WorldCoinIdentityTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.BlockNumber != 0 { + i = encodeVarintOpWorldcoinIdentityTransfer(dAtA, i, uint64(m.BlockNumber)) + i-- + dAtA[i] = 0x30 + } + if len(m.Timestamp) > 0 { + i -= len(m.Timestamp) + copy(dAtA[i:], m.Timestamp) + i = encodeVarintOpWorldcoinIdentityTransfer(dAtA, i, uint64(len(m.Timestamp))) + i-- + dAtA[i] = 0x2a + } + if len(m.State) > 0 { + i -= len(m.State) + copy(dAtA[i:], m.State) + i = encodeVarintOpWorldcoinIdentityTransfer(dAtA, i, uint64(len(m.State))) + i-- + dAtA[i] = 0x22 + } + if len(m.PrevState) > 0 { + i -= len(m.PrevState) + copy(dAtA[i:], m.PrevState) + i = encodeVarintOpWorldcoinIdentityTransfer(dAtA, i, uint64(len(m.PrevState))) + i-- + dAtA[i] = 0x1a + } + if len(m.Chain) > 0 { + i -= len(m.Chain) + copy(dAtA[i:], m.Chain) + i = encodeVarintOpWorldcoinIdentityTransfer(dAtA, i, uint64(len(m.Chain))) + i-- + dAtA[i] = 0x12 + } + if len(m.Contract) > 0 { + i -= len(m.Contract) + copy(dAtA[i:], m.Contract) + i = encodeVarintOpWorldcoinIdentityTransfer(dAtA, i, uint64(len(m.Contract))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintOpWorldcoinIdentityTransfer(dAtA []byte, offset int, v uint64) int { + offset -= sovOpWorldcoinIdentityTransfer(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *WorldCoinIdentityTransfer) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Contract) + if l > 0 { + n += 1 + l + sovOpWorldcoinIdentityTransfer(uint64(l)) + } + l = len(m.Chain) + if l > 0 { + n += 1 + l + sovOpWorldcoinIdentityTransfer(uint64(l)) + } + l = len(m.PrevState) + if l > 0 { + n += 1 + l + sovOpWorldcoinIdentityTransfer(uint64(l)) + } + l = len(m.State) + if l > 0 { + n += 1 + l + sovOpWorldcoinIdentityTransfer(uint64(l)) + } + l = len(m.Timestamp) + if l > 0 { + n += 1 + l + sovOpWorldcoinIdentityTransfer(uint64(l)) + } + if m.BlockNumber != 0 { + n += 1 + sovOpWorldcoinIdentityTransfer(uint64(m.BlockNumber)) + } + return n +} + +func sovOpWorldcoinIdentityTransfer(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozOpWorldcoinIdentityTransfer(x uint64) (n int) { + return sovOpWorldcoinIdentityTransfer(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *WorldCoinIdentityTransfer) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOpWorldcoinIdentityTransfer + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorldCoinIdentityTransfer: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorldCoinIdentityTransfer: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Contract", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOpWorldcoinIdentityTransfer + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthOpWorldcoinIdentityTransfer + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthOpWorldcoinIdentityTransfer + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Contract = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Chain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOpWorldcoinIdentityTransfer + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthOpWorldcoinIdentityTransfer + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthOpWorldcoinIdentityTransfer + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Chain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PrevState", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOpWorldcoinIdentityTransfer + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthOpWorldcoinIdentityTransfer + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthOpWorldcoinIdentityTransfer + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PrevState = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOpWorldcoinIdentityTransfer + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthOpWorldcoinIdentityTransfer + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthOpWorldcoinIdentityTransfer + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.State = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOpWorldcoinIdentityTransfer + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthOpWorldcoinIdentityTransfer + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthOpWorldcoinIdentityTransfer + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Timestamp = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BlockNumber", wireType) + } + m.BlockNumber = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOpWorldcoinIdentityTransfer + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.BlockNumber |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipOpWorldcoinIdentityTransfer(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthOpWorldcoinIdentityTransfer + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipOpWorldcoinIdentityTransfer(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowOpWorldcoinIdentityTransfer + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowOpWorldcoinIdentityTransfer + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowOpWorldcoinIdentityTransfer + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthOpWorldcoinIdentityTransfer + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupOpWorldcoinIdentityTransfer + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthOpWorldcoinIdentityTransfer + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthOpWorldcoinIdentityTransfer = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowOpWorldcoinIdentityTransfer = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupOpWorldcoinIdentityTransfer = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/rarimocore/types/operation.pb.go b/x/rarimocore/types/operation.pb.go index 82f24d51..58e043ef 100644 --- a/x/rarimocore/types/operation.pb.go +++ b/x/rarimocore/types/operation.pb.go @@ -32,6 +32,9 @@ const ( OpType_CONTRACT_UPGRADE OpType = 3 OpType_IDENTITY_DEFAULT_TRANSFER OpType = 4 OpType_IDENTITY_AGGREGATED_TRANSFER OpType = 5 + OpType_IDENTITY_GIST_TRANSFER OpType = 6 + OpType_IDENTITY_STATE_TRANSFER OpType = 7 + OpType_WORLDCOIN_IDENTITY_TRANSFER OpType = 8 ) var OpType_name = map[int32]string{ @@ -41,6 +44,9 @@ var OpType_name = map[int32]string{ 3: "CONTRACT_UPGRADE", 4: "IDENTITY_DEFAULT_TRANSFER", 5: "IDENTITY_AGGREGATED_TRANSFER", + 6: "IDENTITY_GIST_TRANSFER", + 7: "IDENTITY_STATE_TRANSFER", + 8: "WORLDCOIN_IDENTITY_TRANSFER", } var OpType_value = map[string]int32{ @@ -50,6 +56,9 @@ var OpType_value = map[string]int32{ "CONTRACT_UPGRADE": 3, "IDENTITY_DEFAULT_TRANSFER": 4, "IDENTITY_AGGREGATED_TRANSFER": 5, + "IDENTITY_GIST_TRANSFER": 6, + "IDENTITY_STATE_TRANSFER": 7, + "WORLDCOIN_IDENTITY_TRANSFER": 8, } func (x OpType) String() string { @@ -186,36 +195,39 @@ func init() { func init() { proto.RegisterFile("rarimocore/operation.proto", fileDescriptor_4615e59ddf669d07) } var fileDescriptor_4615e59ddf669d07 = []byte{ - // 461 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcf, 0x6e, 0xd3, 0x40, - 0x10, 0xc6, 0xbd, 0xf9, 0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, 0x60, 0x00, 0x7d, 0x1c, 0xf8, 0x8c, 0x7a, 0x46, 0xf3, 0xc3, 0xf9, 0xcf, 0xb5, 0x85, 0xee, - 0xd7, 0x16, 0xfa, 0xbd, 0xb6, 0xd0, 0xb7, 0x8d, 0xa5, 0xdd, 0x6f, 0x2c, 0xed, 0xd7, 0xc6, 0xd2, - 0xae, 0xdf, 0xce, 0x52, 0x35, 0x8f, 0x27, 0xce, 0x54, 0x2e, 0xdc, 0xea, 0x82, 0x1f, 0x3f, 0x6f, - 0xca, 0x05, 0xbc, 0x73, 0x9f, 0x6c, 0xa3, 0x5a, 0x65, 0x49, 0x31, 0xd1, 0xcb, 0x17, 0x7c, 0xf7, - 0x27, 0x00, 0x00, 0xff, 0xff, 0x8a, 0x13, 0x40, 0x75, 0xa8, 0x02, 0x00, 0x00, + // 500 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcf, 0x6e, 0xd3, 0x4c, + 0x14, 0xc5, 0x33, 0xf9, 0xe3, 0x24, 0xb7, 0xfd, 0xfa, 0x59, 0xa3, 0x08, 0xdc, 0x34, 0x98, 0x08, + 0x21, 0x14, 0x55, 0xc2, 0x41, 0x65, 0x8f, 0x34, 0xc4, 0x13, 0xe3, 0x92, 0x8e, 0xa3, 0xf1, 0x14, + 0x44, 0x37, 0x96, 0x93, 0x9a, 0x60, 0xa9, 0x89, 0x2d, 0x67, 0x22, 0x35, 0x6f, 0xc1, 0x86, 0x77, + 0x62, 0xd9, 0x25, 0x4b, 0x94, 0x3c, 0x03, 0x7b, 0x54, 0xbb, 0x76, 0xc2, 0x06, 0x56, 0xf6, 0xcc, + 0xf9, 0x1d, 0x9f, 0x7b, 0xaf, 0x2f, 0xb4, 0x13, 0x3f, 0x09, 0xe7, 0xd1, 0x34, 0x4a, 0x82, 0x7e, + 0x14, 0x07, 0x89, 0x2f, 0xc3, 0x68, 0x61, 0xc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 0x90, + 0x52, 0x4f, 0x38, 0xef, 0x29, 0xf3, 0x2e, 0x08, 0x23, 0x16, 0xbd, 0xa0, 0x4c, 0xa8, 0x65, 0xdc, + 0x02, 0x75, 0xe0, 0x30, 0xc1, 0xc9, 0x40, 0x78, 0x97, 0x63, 0x8b, 0x13, 0x93, 0xaa, 0x15, 0xfc, + 0x04, 0x8e, 0x6d, 0x93, 0x32, 0x61, 0x8b, 0x4f, 0x9e, 0x49, 0x87, 0xe4, 0x72, 0x24, 0xbc, 0x22, + 0xa2, 0x8a, 0xbb, 0xd0, 0x29, 0x64, 0x62, 0x59, 0x9c, 0x5a, 0x44, 0x50, 0x73, 0x47, 0xd4, 0x70, + 0x1b, 0x1e, 0x15, 0x84, 0x65, 0xbb, 0x7b, 0x6e, 0x05, 0x9f, 0xc0, 0xe3, 0x42, 0x73, 0x05, 0x11, + 0x74, 0x27, 0xd6, 0xf1, 0x53, 0x38, 0xf9, 0xe8, 0xf0, 0x91, 0x39, 0x70, 0x6c, 0xe6, 0x15, 0x58, + 0x01, 0x34, 0x4e, 0x2d, 0x68, 0xe4, 0x33, 0xc4, 0xff, 0xc3, 0x81, 0xcd, 0x6c, 0x61, 0x93, 0x91, + 0x7d, 0x45, 0x4d, 0xb5, 0x74, 0x3f, 0x09, 0x32, 0x1e, 0x73, 0xe7, 0x03, 0x35, 0x55, 0x84, 0x55, + 0x38, 0x64, 0x8e, 0xf0, 0x8a, 0x9b, 0x32, 0x06, 0x50, 0x5c, 0xdb, 0x62, 0xd4, 0x54, 0x2b, 0x6f, + 0xcf, 0xbf, 0x6f, 0x74, 0x74, 0xb7, 0xd1, 0xd1, 0xcf, 0x8d, 0x8e, 0xbe, 0x6e, 0xf5, 0xd2, 0xdd, + 0x56, 0x2f, 0xfd, 0xd8, 0xea, 0xa5, 0xab, 0x57, 0xb3, 0x50, 0x7e, 0x59, 0x4d, 0x8c, 0x69, 0x34, + 0xef, 0x67, 0xbf, 0xee, 0xe1, 0xf1, 0x32, 0x5d, 0xed, 0xdb, 0xfe, 0xde, 0x9e, 0xcb, 0x75, 0x1c, + 0x2c, 0x27, 0x4a, 0xba, 0x1b, 0xaf, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x09, 0x54, 0x9d, 0x8d, + 0x02, 0x03, 0x00, 0x00, } func (m *Operation) Marshal() (dAtA []byte, err error) { diff --git a/x/rarimocore/types/params.pb.go b/x/rarimocore/types/params.pb.go index 9ca82615..09bd72f0 100644 --- a/x/rarimocore/types/params.pb.go +++ b/x/rarimocore/types/params.pb.go @@ -310,42 +310,42 @@ func init() { func init() { proto.RegisterFile("rarimocore/params.proto", fileDescriptor_997c11d1d0285e72) } var fileDescriptor_997c11d1d0285e72 = []byte{ - // 559 bytes of a gzipped FileDescriptorProto + // 560 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xc1, 0x6e, 0xd3, 0x40, 0x10, 0x8d, 0x93, 0xd6, 0x89, 0x27, 0x50, 0xac, 0x3d, 0x80, 0x85, 0x2a, 0xcb, 0x2a, 0x08, 0x99, 0x4a, 0x75, 0x51, 0xb9, 0x21, 0x21, 0x91, 0xb6, 0xa1, 0x05, 0x24, 0x88, 0xec, 0xc2, 0x81, 0x0b, - 0xda, 0xd8, 0x43, 0xbb, 0xaa, 0xed, 0x35, 0xbb, 0xeb, 0xaa, 0xe9, 0x57, 0xf0, 0x59, 0x1c, 0x7b, - 0xe4, 0x88, 0x9a, 0x3b, 0x37, 0xee, 0xc8, 0x6b, 0x97, 0x84, 0x04, 0x10, 0x27, 0xef, 0xbc, 0x37, + 0xda, 0xd8, 0x43, 0xb3, 0xaa, 0xed, 0x35, 0xbb, 0xeb, 0xaa, 0xe9, 0x57, 0xf0, 0x59, 0x1c, 0x7b, + 0xe4, 0x88, 0xda, 0x3b, 0x37, 0xee, 0xc8, 0x6b, 0x97, 0x84, 0x04, 0x10, 0x27, 0xef, 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57, 0x49, 0x00, 0xcc, 0x41, 0xac, 0xd8, 0x29, + 0xda, 0xad, 0xea, 0xfc, 0x5c, 0xf0, 0x73, 0xcc, 0x6d, 0x83, 0xf4, 0xa1, 0x1b, 0xa5, 0x54, 0x4e, + 0x30, 0xb1, 0xdb, 0xe4, 0x06, 0xf4, 0x5e, 0xe4, 0xb4, 0x6e, 0xeb, 0xec, 0xbe, 0xfc, 0x72, 0xe9, + 0x1a, 0x17, 0x97, 0xae, 0xf1, 0xed, 0xd2, 0x35, 0x3e, 0x5f, 0xb9, 0xad, 0x8b, 0x2b, 0xb7, 0xf5, + 0xf5, 0xca, 0x6d, 0xbd, 0x7f, 0x74, 0xcc, 0xd4, 0xa4, 0x1c, 0x07, 0x31, 0xcf, 0xb6, 0xeb, 0x90, + 0x9a, 0xcf, 0x96, 0xde, 0xde, 0xb3, 0xed, 0xb9, 0x55, 0x56, 0xd3, 0x02, 0xe5, 0xd8, 0xd4, 0xab, + 0xfc, 0xf8, 0x67, 0x00, 0x00, 0x00, 0xff, 0xff, 0x50, 0x45, 0xcb, 0x9b, 0xe5, 0x03, 0x00, 0x00, } func (m *Party) Marshal() (dAtA []byte, err error) { diff --git a/x/rarimocore/types/proposal.pb.go b/x/rarimocore/types/proposal.pb.go index d58c76c5..c10cd768 100644 --- a/x/rarimocore/types/proposal.pb.go +++ b/x/rarimocore/types/proposal.pb.go @@ -270,9 +270,9 @@ var fileDescriptor_d8fc3ea03d8b2bc9 = []byte{ 0x00, 0xe4, 0x75, 0xa8, 0x7b, 0x21, 0x1c, 0x90, 0x6b, 0x5d, 0x8a, 0xf2, 0x0b, 0x40, 0x81, 0x92, 0x99, 0x4a, 0xb1, 0x6b, 0x9d, 0xbc, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, - 0xca, 0x20, 0x3d, 0xb3, 0x24, 0x27, 0x31, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x1f, 0x12, 0x3d, 0x50, + 0xca, 0x20, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x1f, 0x12, 0x3d, 0x50, 0x4a, 0x17, 0x1c, 0xa7, 0x15, 0xfa, 0x48, 0x11, 0x5c, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, - 0x8e, 0x5e, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe5, 0x58, 0x71, 0xd5, 0xfb, 0x01, 0x00, + 0x8e, 0x5e, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x40, 0xb6, 0x5a, 0xa3, 0xfb, 0x01, 0x00, 0x00, } diff --git a/x/rarimocore/types/query.pb.go b/x/rarimocore/types/query.pb.go index 5685f03f..4091eb29 100644 --- a/x/rarimocore/types/query.pb.go +++ b/x/rarimocore/types/query.pb.go @@ -1073,9 +1073,9 @@ var fileDescriptor_11634ad12f474a6a = []byte{ 0x0f, 0xc6, 0xfc, 0xb2, 0xab, 0xfd, 0x56, 0x5b, 0x9b, 0x0c, 0x8c, 0x32, 0x3e, 0x92, 0x32, 0xee, 0xc2, 0xed, 0x71, 0x7b, 0x83, 0xe1, 0x06, 0x71, 0x36, 0x3e, 0x7d, 0x71, 0x5a, 0x22, 0x2f, 0x4f, 0x4b, 0xe4, 0xef, 0xd3, 0x12, 0xf9, 0xee, 0xac, 0x34, 0xf3, 0xf2, 0xac, 0x34, 0xf3, 0xe7, 0x59, - 0x69, 0xe6, 0xab, 0x4a, 0xcb, 0x12, 0xb6, 0xd9, 0x28, 0xef, 0xf1, 0x76, 0x5a, 0xec, 0x63, 0x35, - 0xba, 0x38, 0x71, 0x99, 0xdf, 0x98, 0x95, 0x7f, 0x7f, 0xb8, 0xf5, 0x5f, 0x00, 0x00, 0x00, 0xff, - 0xff, 0x78, 0x3e, 0xe8, 0x69, 0xd8, 0x11, 0x00, 0x00, + 0x69, 0xe6, 0xab, 0x4a, 0xcb, 0x12, 0x07, 0x87, 0x8d, 0xf2, 0x1e, 0x6f, 0xa7, 0xc5, 0x3e, 0x56, + 0xa3, 0x8b, 0x13, 0x97, 0xf9, 0x8d, 0x59, 0xf9, 0xf7, 0x87, 0x5b, 0xff, 0x05, 0x00, 0x00, 0xff, + 0xff, 0xdd, 0xd0, 0xc3, 0x1f, 0xd8, 0x11, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/rarimocore/types/tx.pb.go b/x/rarimocore/types/tx.pb.go index f7747955..0c645218 100644 --- a/x/rarimocore/types/tx.pb.go +++ b/x/rarimocore/types/tx.pb.go @@ -837,55 +837,55 @@ func init() { func init() { proto.RegisterFile("rarimocore/tx.proto", fileDescriptor_d9dffb74ddf0d475) } var fileDescriptor_d9dffb74ddf0d475 = []byte{ - // 763 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xcf, 0x4f, 0x13, 0x4b, - 0x1c, 0x67, 0x5f, 0x81, 0xc2, 0xf7, 0xf1, 0x80, 0x37, 0xf0, 0xc2, 0xbe, 0x0d, 0xac, 0xb8, 0x26, - 0xd8, 0xc4, 0xd0, 0x12, 0x88, 0x5e, 0x48, 0x8c, 0x58, 0x3d, 0xa0, 0x69, 0x84, 0xa2, 0x1c, 0xbc, - 0x90, 0xed, 0x76, 0x58, 0x37, 0xb6, 0x33, 0x9b, 0x99, 0xa9, 0xa5, 0x37, 0x4f, 0x1a, 0x6f, 0x9e, - 0xfc, 0x47, 0xfc, 0x27, 0x3c, 0x92, 0x78, 0xf1, 0x64, 0x0c, 0xfc, 0x23, 0x66, 0x76, 0x67, 0xa7, - 0xdb, 0x42, 0xb7, 0x2b, 0xa7, 0xce, 0x7c, 0x7f, 0x7e,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, - 0xf3, 0x90, 0x12, 0x8e, 0x9d, 0xf7, 0x06, 0xcc, 0xd4, 0xb8, 0x7f, 0x24, 0xdc, 0xb7, 0x38, 0x83, - 0xa9, 0x09, 0x45, 0xd7, 0xf3, 0x68, 0x87, 0x08, 0xc5, 0x33, 0xd9, 0x46, 0x9e, 0x66, 0x93, 0x61, - 0xce, 0x23, 0x7e, 0xd2, 0x13, 0x6f, 0xd1, 0x06, 0xcc, 0x0b, 0x16, 0xb8, 0xad, 0x83, 0x4e, 0xa3, - 0x15, 0x78, 0xcf, 0x71, 0x4f, 0x41, 0x1e, 0xb2, 0x3a, 0x08, 0x16, 0x13, 0x04, 0x1a, 0xd6, 0x23, - 0x80, 0x1a, 0xf7, 0x5f, 0x11, 0x7e, 0x53, 0x5c, 0xce, 0x32, 0xa0, 0x7e, 0x05, 0x5d, 0xf7, 0xa3, - 0x01, 0xff, 0xe9, 0x6f, 0x52, 0x4d, 0x49, 0x2b, 0xa3, 0x07, 0x82, 0x49, 0x46, 0x69, 0xd2, 0x20, - 0x5a, 0xcb, 0xe8, 0x80, 0x34, 0xf1, 0x19, 0x96, 0xac, 0x0b, 0x32, 0x5a, 0x6d, 0x25, 0x6b, 0x1e, - 0xf8, 0xc4, 0x15, 0x1d, 0x86, 0x9f, 0x56, 0x9f, 0x1c, 0xed, 0x25, 0xac, 0x07, 0xad, 0xce, 0x2d, - 0x58, 0xbb, 0x16, 0x88, 0x86, 0xfa, 0x35, 0xad, 0xc9, 0xea, 0x1b, 0x97, 0xf8, 0xf8, 0xc0, 0x65, - 0x22, 0xc0, 0xfc, 0x45, 0x98, 0x81, 0x76, 0x17, 0xa6, 0x09, 0xee, 0x1e, 0x61, 0x89, 0xb7, 0x50, - 0xfa, 0x7b, 0xfb, 0x4e, 0xb6, 0xdc, 0x64, 0xc9, 0x5e, 0x5d, 0xa5, 0x20, 0x07, 0xe6, 0x08, 0xee, - 0xf6, 0x07, 0x16, 0x4f, 0x74, 0xc0, 0x16, 0x89, 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39, - 0x5f, 0x9c, 0x6e, 0x80, 0xa1, 0x98, 0x9c, 0xe2, 0xa5, 0xb1, 0xa9, 0x2a, 0xd2, 0xda, 0xca, 0x1b, - 0xa9, 0xdb, 0x7c, 0x32, 0x60, 0x21, 0xbe, 0xd9, 0xf4, 0x45, 0x97, 0x5b, 0xdb, 0x43, 0x57, 0x63, - 0x6e, 0x6d, 0x8f, 0xb8, 0x52, 0x51, 0x03, 0xa6, 0xd5, 0x7f, 0xfa, 0xee, 0xd8, 0x4a, 0x71, 0xa0, - 0x55, 0xc9, 0x19, 0x98, 0xf4, 0x78, 0xfc, 0xec, 0xdb, 0x85, 0x6d, 0x9c, 0x5f, 0xd8, 0xc6, 0xaf, - 0x0b, 0xdb, 0xf8, 0x7c, 0x69, 0x4f, 0x9c, 0x5f, 0xda, 0x13, 0x3f, 0x2e, 0xed, 0x89, 0xd7, 0x5b, - 0x7e, 0x20, 0x5a, 0x6e, 0xa3, 0xec, 0xd1, 0x76, 0x25, 0x2e, 0xa1, 0x7e, 0x36, 0xa3, 0x67, 0xd1, - 0x59, 0x25, 0xfd, 0x54, 0xeb, 0x85, 0x98, 0x37, 0xa6, 0xa3, 0x37, 0xd0, 0xce, 0xef, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x20, 0xf9, 0xf9, 0xfa, 0xc5, 0x09, 0x00, 0x00, + // 759 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x4d, 0x4f, 0x13, 0x41, + 0x18, 0x66, 0x2d, 0x50, 0x78, 0x45, 0xc0, 0x01, 0xc3, 0xba, 0x81, 0x8a, 0x6b, 0x82, 0x4d, 0x0c, + 0x2d, 0x81, 0xe8, 0x85, 0xc4, 0x88, 0xd5, 0x03, 0x9a, 0x46, 0x28, 0xca, 0xc1, 0x0b, 0xd9, 0x6e, + 0x87, 0x65, 0x63, 0x3b, 0xb3, 0x99, 0x99, 0x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0x80, 0x2c, 0x98, + 0xa2, 0xc7, 0xc7, 0x98, 0x34, 0x30, 0x33, 0xc7, 0xc3, 0x7e, 0x7a, 0x8f, 0xe6, 0x21, 0xd7, 0xe2, + 0x9e, 0x39, 0x11, 0x9a, 0xe5, 0xd2, 0xb6, 0x61, 0x75, 0x18, 0xa9, 0x1a, 0xe6, 0x01, 0x25, 0x1c, + 0xdb, 0x9f, 0x0c, 0x98, 0xaa, 0x72, 0xef, 0x40, 0x38, 0x1f, 0x70, 0x0a, 0x53, 0x13, 0xf2, 0x8e, + 0xeb, 0xd2, 0x36, 0x11, 0x8a, 0x67, 0xbc, 0x0d, 0x3d, 0x8d, 0x06, 0xc3, 0x9c, 0x87, 0xfc, 0xa4, + 0x27, 0xda, 0xa2, 0x35, 0x98, 0x15, 0xcc, 0x77, 0x9a, 0x7b, 0xed, 0x7a, 0xd3, 0x77, 0x5f, 0xe3, + 0xae, 0x82, 0x3c, 0x60, 0xb5, 0x11, 0xcc, 0xc7, 0x08, 0x34, 0xac, 0x67, 0x00, 0x55, 0xee, 0xbd, + 0x23, 0xfc, 0xba, 0xb8, 0xec, 0x45, 0x40, 0xbd, 0x0a, 0xba, 0xee, 0x17, 0x03, 0xee, 0xe8, 0x6f, + 0x52, 0x49, 0x48, 0x2b, 0xa5, 0x07, 0x82, 0x71, 0x46, 0x69, 0xdc, 0x20, 0x5c, 0xcb, 0x68, 0x9f, + 0x34, 0xf0, 0x29, 0x96, 0xac, 0x73, 0x32, 0x5a, 0x6d, 0x25, 0x6b, 0xee, 0x7b, 0xc4, 0x11, 0x6d, + 0x86, 0x5f, 0x56, 0x5e, 0x1c, 0xec, 0xc4, 0xac, 0xfb, 0xad, 0xf6, 0x3d, 0x58, 0xb9, 0x12, 0x88, + 0x86, 0xfa, 0x23, 0xa9, 0xc9, 0xca, 0x89, 0x43, 0x3c, 0xbc, 0xe7, 0x30, 0xe1, 0x63, 0xfe, 0x26, + 0x48, 0x41, 0xbb, 0x0d, 0x93, 0x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d6, 0xe3, 0xff, + 0x0a, 0xef, 0xa7, 0x7f, 0x59, 0x6b, 0x19, 0xe8, 0x5f, 0x4a, 0xca, 0x42, 0x7f, 0xa8, 0x04, 0xd1, + 0x11, 0x4c, 0x44, 0x47, 0xff, 0xda, 0x68, 0x22, 0x32, 0xce, 0x2a, 0x65, 0x8b, 0xd3, 0x0d, 0x30, + 0xe4, 0xe3, 0x53, 0xbc, 0x38, 0x32, 0x55, 0x45, 0x5a, 0x1b, 0x59, 0x23, 0x75, 0x9b, 0xaf, 0x06, + 0xcc, 0x45, 0x37, 0x9b, 0xbe, 0xe8, 0x32, 0x6b, 0x7b, 0xe0, 0x6a, 0xcc, 0xac, 0xed, 0x21, 0x57, + 0x2a, 0xaa, 0xc3, 0xa4, 0xfa, 0x4f, 0x3f, 0x1c, 0x59, 0x29, 0x0a, 0xb4, 0xca, 0x19, 0x03, 0xe3, + 0x1e, 0xcf, 0x5f, 0xfd, 0x3c, 0x2f, 0x18, 0x67, 0xe7, 0x05, 0xe3, 0xef, 0x79, 0xc1, 0xf8, 0x76, + 0x51, 0x18, 0x3b, 0xbb, 0x28, 0x8c, 0xfd, 0xbe, 0x28, 0x8c, 0xbd, 0xdf, 0xf0, 0x7c, 0x71, 0xd2, + 0xae, 0x97, 0x5c, 0xda, 0x2a, 0x47, 0x25, 0xd4, 0xcf, 0x7a, 0xf8, 0x2c, 0x3a, 0x2d, 0x27, 0x9f, + 0x6a, 0xdd, 0x00, 0xf3, 0xfa, 0x64, 0xf8, 0x06, 0xda, 0xfa, 0x17, 0x00, 0x00, 0xff, 0xff, 0x85, + 0x17, 0xd2, 0x8c, 0xc5, 0x09, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/rarimocore/types/violation_report.pb.go b/x/rarimocore/types/violation_report.pb.go index fa420ea7..9177a417 100644 --- a/x/rarimocore/types/violation_report.pb.go +++ b/x/rarimocore/types/violation_report.pb.go @@ -197,9 +197,9 @@ var fileDescriptor_5f6392b6292027b7 = []byte{ 0x0a, 0x30, 0x08, 0x71, 0x70, 0xb1, 0x04, 0x17, 0x24, 0xe6, 0x0a, 0x30, 0x0a, 0x71, 0x72, 0xb1, 0xfa, 0x97, 0x64, 0xa4, 0x16, 0x09, 0x30, 0x3b, 0x79, 0x9d, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, - 0xb1, 0x1c, 0x43, 0x94, 0x41, 0x7a, 0x66, 0x49, 0x4e, 0x62, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, + 0xb1, 0x1c, 0x43, 0x94, 0x41, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 0xc4, 0x45, 0x50, 0x4a, 0x17, 0x1c, 0x9b, 0x15, 0xfa, 0x48, 0x51, 0x5b, 0x52, 0x59, 0x90, 0x5a, - 0x9c, 0xc4, 0x06, 0x8e, 0x50, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xec, 0x40, 0x4f, 0xe6, + 0x9c, 0xc4, 0x06, 0x8e, 0x50, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x49, 0xae, 0x64, 0x90, 0xf5, 0x01, 0x00, 0x00, } diff --git a/x/rarimocore/types/vote.pb.go b/x/rarimocore/types/vote.pb.go index 1bdfd44e..2134b1e7 100644 --- a/x/rarimocore/types/vote.pb.go +++ b/x/rarimocore/types/vote.pb.go @@ -173,9 +173,9 @@ var fileDescriptor_b638e6b4bc245bc3 = []byte{ 0xd2, 0x5c, 0x1c, 0x30, 0x11, 0x21, 0x76, 0x2e, 0xe6, 0x48, 0xd7, 0x60, 0x01, 0x06, 0x21, 0x36, 0x2e, 0x26, 0x3f, 0x7f, 0x01, 0x46, 0x27, 0xaf, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, - 0x63, 0x88, 0x32, 0x48, 0xcf, 0x2c, 0xc9, 0x49, 0x4c, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x87, 0x18, + 0x63, 0x88, 0x32, 0x48, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x87, 0x18, 0x0e, 0xa5, 0x74, 0xc1, 0x61, 0x59, 0xa1, 0x8f, 0x14, 0xb0, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, - 0x6c, 0xe0, 0xa0, 0x35, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x55, 0xe8, 0xcc, 0xc6, 0x73, 0x01, + 0x6c, 0xe0, 0xa0, 0x35, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xf0, 0x06, 0xe7, 0xb0, 0x73, 0x01, 0x00, 0x00, } diff --git a/x/tokenmanager/README.md b/x/tokenmanager/README.md index 0cfad7b8..5a0723ec 100644 --- a/x/tokenmanager/README.md +++ b/x/tokenmanager/README.md @@ -1,3 +1,8 @@ +--- +layout: default +title: x/tokenamanager +--- + # `x/tokenamanager` ## Abstract @@ -6,13 +11,15 @@ The `tokenamanager` module is responsible for storing information about all supp ## Concepts -For FT and Native tokens such an information will be strongly predefined. NFT collection can contain huge amount of tokens under it, and also they can be minted in future. -So we can not define all tokens in core during initialization or token add operation. That is why collections flow was created. +For FT and Native tokens such an information will be strongly predefined. NFT collection can contain huge amount of +tokens under it, and also they can be minted in future. +So we can not define all tokens in core during initialization or token add operation. That is why collections flow was +created. Using `tokenmanager` `Collection` and `CollectionData` we can define collection global and chain information regardless of the number of tokens in collection or their metadata. Token information (`Item` and `OnChainItem`) will be set up during the first token transfer. -During the first transfer oracles should fill the metadata field in `MsgCreateTransferOp` and provide all required token information to create `Item` and `OnChainItem`. - +During the first transfer oracles should fill the metadata field in `MsgCreateTransferOp` and provide all required token +information to create `Item` and `OnChainItem`. ## State @@ -21,133 +28,132 @@ During the first transfer oracles should fill the metadata field in `MsgCreateTr **Params** - defines supported networks and their bridge contracts Definition: - ```protobuf - enum NetworkType { - EVM = 0; - Solana = 1; - Near = 2; - Other = 3; - } - - enum NetworkParamType { - BRIDGE = 0; - FEE = 1; - IDENTITY = 2; - } - - message Network { - // network name - string name = 1; - NetworkType type = 2; - repeated NetworkParams params = 3 [(gogoproto.nullable) = false]; - } - - message NetworkParams { - NetworkParamType type = 1; - // Corresponding to type details - google.protobuf.Any details = 2; - } - - message BridgeNetworkParams { - string contract = 1; - } - - message FeeNetworkParams { - string contract = 1; - repeated FeeToken feeTokens = 2; - } - - message IdentityNetworkParams { - string contract = 1; - } - - message FeeToken { - // contract address hex - string contract = 1; - string amount = 2; - } - - // Params defines the parameters for the module. - message Params { - repeated Network networks = 1; - } - ``` - -
- Example - ```json +```protobuf +enum NetworkType { + EVM = 0; + Solana = 1; + Near = 2; + Other = 3; +} + +enum NetworkParamType { + BRIDGE = 0; + FEE = 1; + IDENTITY = 2; +} + +message Network { + // network name + string name = 1; + NetworkType type = 2; + repeated NetworkParams params = 3 [(gogoproto.nullable) = false]; +} + +message NetworkParams { + NetworkParamType type = 1; + // Corresponding to type details + google.protobuf.Any details = 2; +} + +message BridgeNetworkParams { + string contract = 1; +} + +message FeeNetworkParams { + string contract = 1; + repeated FeeToken feeTokens = 2; +} + +message IdentityNetworkParams { + string contract = 1; +} + +message FeeToken { + // contract address hex + string contract = 1; + string amount = 2; +} + +// Params defines the parameters for the module. +message Params { + repeated Network networks = 1; +} +``` + +Example: + +```json +{ + "networks": [ { - "networks": [ - { - "name":"Solana", - "type":"Solana", - "params":[ - { - "type":"BRIDGE", - "details":{ - "@type":"/rarimo.rarimocore.tokenmanager.BridgeNetworkParams", - "contract":"0x6e632137764e7ba6b053ba055a0e63b5151d5866f846fc5c23302517d8b778a8" - } - }, - { - "type":"FEE", - "details":{ - "@type":"/rarimo.rarimocore.tokenmanager.FeeNetworkParams", - "contract":"0x00", - "feeTokens":[ - { - "contract":"", - "amount":"1" - } - ] - } - } - ] + "name": "Solana", + "type": "Solana", + "params": [ + { + "type": "BRIDGE", + "details": { + "@type": "/rarimo.rarimocore.tokenmanager.BridgeNetworkParams", + "contract": "0x6e632137764e7ba6b053ba055a0e63b5151d5866f846fc5c23302517d8b778a8" } - ] + }, + { + "type": "FEE", + "details": { + "@type": "/rarimo.rarimocore.tokenmanager.FeeNetworkParams", + "contract": "0x00", + "feeTokens": [ + { + "contract": "", + "amount": "1" + } + ] + } + } + ] } - ``` -
+ ] +} +``` ### Collection **Collection** - the high level concept of token that is supported on Rarimo bridge. Definition: - ```protobuf - message CollectionMetadata { - string name = 1; - string symbol = 2; - string metadataURI = 3; - } - - message CollectionDataIndex { - // Chain name - string chain = 1; - // Collection contract address - string address = 2; - } - message Collection { - string index = 1; - CollectionMetadata meta = 2; - repeated CollectionDataIndex data = 3; - } - ``` - -
- Example - - ```json - { - "index": "usdt", - "meta": { - "name": "Tether USD", - "symbol": "USDT", - "metadataURI": "" - }, - "data": [ +```protobuf +message CollectionMetadata { + string name = 1; + string symbol = 2; + string metadataURI = 3; +} + +message CollectionDataIndex { + // Chain name + string chain = 1; + // Collection contract address + string address = 2; +} + +message Collection { + string index = 1; + CollectionMetadata meta = 2; + repeated CollectionDataIndex data = 3; +} +``` + +Example: + +```json +{ + "index": "usdt", + "meta": { + "name": "Tether USD", + "symbol": "USDT", + "metadataURI": "" + }, + "data": [ { "chain": "Solana", "address": "0xc4192d3818061c9d9333b6e658422b095cc2417dfe313f7286f96108d543253d" @@ -160,108 +166,107 @@ Definition: "chain": "Goerli", "address": "0x2f362dF82622120f7181e432446E7665f51fFb03" } - ] - } - ``` -
+ ] +} +``` ### CollectionData -**CollectionData** - defines collection data on the certain chain. Indexed by chain|address and contains id of the collection. +**CollectionData** - defines collection data on the certain chain. Indexed by chain|address and contains id of the +collection. Definition: - ```protobuf - message CollectionData { - CollectionDataIndex index = 1; - string collection = 2; - Type tokenType = 3; - bool wrapped = 4; - uint32 decimals = 5; - } - ``` -
- Example - - ```json - [ - { - "index": { +```protobuf +message CollectionData { + CollectionDataIndex index = 1; + string collection = 2; + Type tokenType = 3; + bool wrapped = 4; + uint32 decimals = 5; +} +``` + +Example: + +```json +[ + { + "index": { "chain": "Goerli", "address": "0x2f362dF82622120f7181e432446E7665f51fFb03" }, - "collection": "usdt", - "tokenType": "ERC20", - "wrapped": true, - "decimals": 18 - }, - { - "index": { + "collection": "usdt", + "tokenType": "ERC20", + "wrapped": true, + "decimals": 18 + }, + { + "index": { "chain": "Near", "address": "0x757364742e726172696d6f2e746573746e6574" }, - "collection": "usdt", - "tokenType": "NEAR_FT", - "wrapped": true, - "decimals": 18 - }, - { - "index": { + "collection": "usdt", + "tokenType": "NEAR_FT", + "wrapped": true, + "decimals": 18 + }, + { + "index": { "chain": "Solana", "address": "0xc4192d3818061c9d9333b6e658422b095cc2417dfe313f7286f96108d543253d" }, - "collection": "usdt", - "tokenType": "METAPLEX_FT", - "wrapped": true, - "decimals": 9 - } - ] - ``` -
+ "collection": "usdt", + "tokenType": "METAPLEX_FT", + "wrapped": true, + "decimals": 9 + } +] +``` ### Item **Item** - defines one simple token across all chains. Contains all metadata required to perform transfers. Definition: - ```protobuf - message ItemMetadata { - string imageUri = 1; - // Hash of the token image. Encoded into hex string. (optional) - string imageHash = 2; - // Seed is used to generate PDA address for Solana - string seed = 3; - string uri = 4; - } - - message OnChainItemIndex { - string chain = 1; - string address = 2; - string tokenID = 3; - } - message Item { - string index = 1; - string collection = 2; - ItemMetadata meta = 3; - repeated OnChainItemIndex onChain = 4; - } - ``` - -
- Example - - ```json - { - "index": "usdt", - "collection": "usdt", - "meta": { - "imageUri": "", - "imageHash": "", - "seed": "", - "uri": "" - }, - "onChain": [ +```protobuf +message ItemMetadata { + string imageUri = 1; + // Hash of the token image. Encoded into hex string. (optional) + string imageHash = 2; + // Seed is used to generate PDA address for Solana + string seed = 3; + string uri = 4; +} + +message OnChainItemIndex { + string chain = 1; + string address = 2; + string tokenID = 3; +} + +message Item { + string index = 1; + string collection = 2; + ItemMetadata meta = 3; + repeated OnChainItemIndex onChain = 4; +} +``` + +Example: + +```json +{ + "index": "usdt", + "collection": "usdt", + "meta": { + "imageUri": "", + "imageHash": "", + "seed": "", + "uri": "" + }, + "onChain": [ { "chain": "Solana", "address": "0xc4192d3818061c9d9333b6e658422b095cc2417dfe313f7286f96108d543253d", @@ -277,62 +282,60 @@ Definition: "address": "0x2f362dF82622120f7181e432446E7665f51fFb03", "tokenID": "" } - ] - } - ``` -
+ ] +} +``` ### OnChainItem **OnChainItem** - defines one simple token on the certain chain. Indexed by `chain|address|tokenId`. Definition: - ```protobuf - message OnChainItem { - OnChainItemIndex index = 1; - string item = 2; - } - ``` -
- Example +```protobuf +message OnChainItem { + OnChainItemIndex index = 1; + string item = 2; +} +``` - ```json - [ - { - "index": { +Example: + +```json +[ + { + "index": { "chain": "Goerli", "address": "0x2f362dF82622120f7181e432446E7665f51fFb03", "tokenID": "" }, - "item": "usdt" - }, - { - "index": { + "item": "usdt" + }, + { + "index": { "chain": "Near", "address": "0x757364742e726172696d6f2e746573746e6574", "tokenID": "" }, - "item": "usdt" - }, - { - "index": { + "item": "usdt" + }, + { + "index": { "chain": "Solana", "address": "0xc4192d3818061c9d9333b6e658422b095cc2417dfe313f7286f96108d543253d", "tokenID": "" }, - "item": "usdt" - } - ] - ``` -
- + "item": "usdt" + } +] +``` ---- ## Keepers -The `tokenmanager` module only exposes one keeper, which can be used to access information about supported tokens to transfer and supported network params. +The `tokenmanager` module only exposes one keeper, which can be used to access information about supported tokens to +transfer and supported network params. ---- @@ -342,101 +345,110 @@ The `tokenmanager` module only exposes one keeper, which can be used to access i ### SetNetworkProposal **SetNetworkProposal** - creating or updating existing network params. - ```protobuf - message SetNetworkProposal { - string title = 1; - string description = 2; - NetworkParams networkParams = 3; - } - ``` + +```protobuf +message SetNetworkProposal { + string title = 1; + string description = 2; + NetworkParams networkParams = 3; +} +``` ### UpdateTokenItemProposal **UpdateTokenItemProposal** - updating token item params (metadata) - ```protobuf - message UpdateTokenItemProposal { - string title = 1; - string description = 2; - repeated Item item = 3; - } - ``` +```protobuf +message UpdateTokenItemProposal { + string title = 1; + string description = 2; + + repeated Item item = 3; +} +``` ### RemoveTokenItemProposal **RemoveTokenItemProposal** - removing token item from core. - ```protobuf - message RemoveTokenItemProposal { - string title = 1; - string description = 2; - repeated string index = 3; - } - ``` +```protobuf +message RemoveTokenItemProposal { + string title = 1; + string description = 2; + + repeated string index = 3; +} +``` ### CreateCollectionProposal -**CreateCollectionProposal** - adding new collection. CollectionData should be provided. Items and OnChainItems can be optionally provided. - ```protobuf - message CreateCollectionProposal { - string title = 1; - string description = 2; - - string index = 3; - CollectionMetadata metadata = 4; - // All supported networks described - repeated CollectionData data = 5; - repeated Item item = 6; - repeated OnChainItem onChainItem = 7; - } - ``` +**CreateCollectionProposal** - adding new collection. CollectionData should be provided. Items and OnChainItems can be +optionally provided. + +```protobuf +message CreateCollectionProposal { + string title = 1; + string description = 2; + + string index = 3; + CollectionMetadata metadata = 4; + // All supported networks described + repeated CollectionData data = 5; + repeated Item item = 6; + repeated OnChainItem onChainItem = 7; +} +``` ### UpdateCollectionDataProposal **UpdateCollectionDataProposal** - updating collection data information. - ```protobuf - message UpdateCollectionDataProposal { - string title = 1; - string description = 2; - repeated CollectionData data = 3; - } - ``` +```protobuf +message UpdateCollectionDataProposal { + string title = 1; + string description = 2; + + repeated CollectionData data = 3; +} +``` ### AddCollectionDataProposal **AddCollectionDataProposal** - adding collection data (which means support of new chain for collection) - ```protobuf - message AddCollectionDataProposal { - string title = 1; - string description = 2; - repeated CollectionData data = 3; - } - ``` +```protobuf +message AddCollectionDataProposal { + string title = 1; + string description = 2; + + repeated CollectionData data = 3; +} +``` ### RemoveCollectionDataProposal **RemoveCollectionDataProposal** - removing collection data (which means disabling of certain chain for collection) - ```protobuf - message RemoveCollectionDataProposal { - string title = 1; - string description = 2; - repeated CollectionDataIndex index = 3; - } - ``` +```protobuf +message RemoveCollectionDataProposal { + string title = 1; + string description = 2; + + repeated CollectionDataIndex index = 3; +} +``` ### RemoveCollectionProposal **RemoveCollectionProposal** - removing the hole collection - ```protobuf - message RemoveCollectionProposal { - string title = 1; - string description = 2; - string index = 3; - } - ``` +```protobuf +message RemoveCollectionProposal { + string title = 1; + string description = 2; + + string index = 3; +} +``` ---- \ No newline at end of file diff --git a/x/tokenmanager/types/collection.pb.go b/x/tokenmanager/types/collection.pb.go index d2e9ae93..c5f5261f 100644 --- a/x/tokenmanager/types/collection.pb.go +++ b/x/tokenmanager/types/collection.pb.go @@ -284,32 +284,32 @@ func init() { proto.RegisterFile("tokenmanager/collection.proto", fileDescriptor var fileDescriptor_2c1a25c2c4b34b82 = []byte{ // 408 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xc1, 0x8a, 0xdb, 0x30, - 0x10, 0x86, 0xad, 0xc6, 0x49, 0x93, 0x09, 0xcd, 0x41, 0x0d, 0xad, 0x09, 0x54, 0x35, 0xa6, 0x87, - 0x5c, 0x6a, 0x83, 0xf3, 0x06, 0x69, 0x4b, 0x09, 0xa4, 0x17, 0xd3, 0x5e, 0x7a, 0x93, 0x6d, 0xe1, - 0x9a, 0x5a, 0x96, 0xb1, 0x05, 0x4d, 0xde, 0xa2, 0xaf, 0xb3, 0x6f, 0x90, 0x63, 0x8e, 0x7b, 0x5a, - 0x96, 0xe4, 0x19, 0xf6, 0xbe, 0x48, 0xb6, 0xe3, 0x04, 0x96, 0xdd, 0x65, 0x4f, 0xd2, 0x8c, 0x34, - 0xdf, 0x3f, 0xf3, 0x4b, 0xf0, 0x41, 0x8a, 0xbf, 0x2c, 0xe7, 0x34, 0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 0x25, 0x2d, 0x0a, 0x16, 0x5b, 0xa6, 0x8d, 0xe6, 0xc3, 0xa0, 0x0d, 0xf1, 0x0c, 0x86, 0x31, - 0x8b, 0x52, 0x4e, 0xb3, 0xca, 0xea, 0xdb, 0x68, 0xfe, 0x26, 0x38, 0xc5, 0xce, 0x15, 0x02, 0xe8, - 0x1a, 0x57, 0xb6, 0x75, 0x33, 0x8f, 0xda, 0xf6, 0xd7, 0x60, 0x2a, 0xcb, 0x75, 0xe3, 0x63, 0xdf, - 0x7f, 0xbe, 0x11, 0xed, 0x9b, 0x2f, 0xcd, 0xdd, 0xcd, 0x47, 0x23, 0xd0, 0x14, 0xfc, 0x1d, 0x4c, - 0x95, 0xb3, 0x7a, 0x76, 0xef, 0xa5, 0xb6, 0x6a, 0xc0, 0x72, 0xbd, 0x3b, 0x10, 0xb4, 0x3f, 0x10, - 0x74, 0x7b, 0x20, 0xe8, 0xff, 0x91, 0x18, 0xfb, 0x23, 0x31, 0xae, 0x8f, 0xc4, 0xf8, 0xed, 0x27, - 0xa9, 0xcc, 0x68, 0xe8, 0x46, 0x82, 0x7b, 0x35, 0xb7, 0x59, 0x3e, 0x2b, 0xbe, 0xb7, 0xf1, 0x2e, - 0x7e, 0xac, 0xdc, 0x16, 0xac, 0x0a, 0x07, 0xfa, 0xcf, 0x2e, 0xee, 0x03, 0x00, 0x00, 0xff, 0xff, - 0xed, 0x7c, 0x65, 0xdc, 0x23, 0x03, 0x00, 0x00, + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xc1, 0x8e, 0xd3, 0x30, + 0x10, 0x86, 0x63, 0x9a, 0x96, 0x76, 0x2a, 0x7a, 0x30, 0x15, 0x44, 0x95, 0x30, 0x51, 0xc4, 0xa1, + 0x17, 0x12, 0x29, 0x7d, 0x83, 0x02, 0x42, 0x95, 0xca, 0x25, 0x82, 0x0b, 0x37, 0x27, 0xb1, 0xd2, + 0x88, 0x38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0xfe, 0xc2, 0xbd, 0xdf, 0x1c, 0xf7, 0x8e, 0x36, + 0x82, 0x9a, 0x80, 0x09, 0x40, 0xe7, 0x75, 0x23, 0x7d, 0x91, 0xc1, 0x4b, 0x18, 0x69, 0xd4, 0xd7, + 0x5d, 0xc1, 0xf4, 0x90, 0x13, 0xff, 0xdd, 0x43, 0x72, 0xea, 0x6e, 0xd0, 0x95, 0xa9, 0xd9, 0x7e, + 0x95, 0xb4, 0x28, 0x58, 0x6c, 0x99, 0x36, 0x9a, 0x0f, 0x83, 0x36, 0xc4, 0x33, 0x18, 0xc6, 0x2c, + 0x4a, 0x39, 0xcd, 0x2a, 0xab, 0x6f, 0xa3, 0xf9, 0x8b, 0xe0, 0x1c, 0x3b, 0x7f, 0x10, 0x40, 0xd7, + 0xb8, 0xb2, 0xad, 0x9b, 0x79, 0xd4, 0xb6, 0xbf, 0x06, 0x53, 0x59, 0xae, 0x1b, 0x1f, 0xfb, 0xfe, + 0xe3, 0x8d, 0x68, 0xdf, 0x7c, 0x69, 0xee, 0xff, 0xbd, 0x35, 0x02, 0x4d, 0xc1, 0x9f, 0xc1, 0x54, + 0x39, 0xab, 0x67, 0xf7, 0x9e, 0x6a, 0xab, 0x06, 0x2c, 0xd7, 0xfb, 0x23, 0x41, 0x87, 0x23, 0x41, + 0xff, 0x8f, 0x04, 0xfd, 0x3e, 0x11, 0xe3, 0x70, 0x22, 0xc6, 0xdf, 0x13, 0x31, 0xbe, 0xfb, 0x49, + 0x2a, 0x37, 0x3f, 0x43, 0x37, 0x12, 0xdc, 0xab, 0xb9, 0xcd, 0xf2, 0x5e, 0xf1, 0xbd, 0xad, 0x77, + 0xf5, 0x63, 0xe5, 0xae, 0x60, 0x55, 0x38, 0xd0, 0x7f, 0x76, 0x71, 0x1b, 0x00, 0x00, 0xff, 0xff, + 0x15, 0x8d, 0xa7, 0x48, 0x23, 0x03, 0x00, 0x00, } func (m *CollectionMetadata) Marshal() (dAtA []byte, err error) { diff --git a/x/tokenmanager/types/genesis.pb.go b/x/tokenmanager/types/genesis.pb.go index 67b91564..b33564d4 100644 --- a/x/tokenmanager/types/genesis.pb.go +++ b/x/tokenmanager/types/genesis.pb.go @@ -115,29 +115,29 @@ func init() { func init() { proto.RegisterFile("tokenmanager/genesis.proto", fileDescriptor_2e2658d20615f329) } var fileDescriptor_2e2658d20615f329 = []byte{ - // 337 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0xd2, 0xcf, 0x4a, 0xeb, 0x40, - 0x14, 0x06, 0xf0, 0xe4, 0xf6, 0xcf, 0x62, 0xda, 0x55, 0xb8, 0x60, 0x0c, 0x38, 0x16, 0x11, 0x29, - 0x8a, 0x13, 0xa8, 0x2f, 0x20, 0x6d, 0x41, 0x2a, 0x82, 0xd2, 0xe2, 0xc6, 0xdd, 0x69, 0x7a, 0x88, - 0xc1, 0x66, 0xa6, 0xcc, 0xcc, 0x42, 0xdf, 0xc2, 0xc7, 0xea, 0xce, 0x2e, 0x5d, 0x89, 0xb4, 0x2f, - 0x22, 0x99, 0x99, 0xda, 0x66, 0x63, 0xbb, 0x9a, 0xc0, 0x39, 0xdf, 0x8f, 0x8f, 0x70, 0x48, 0xa4, - 0xc5, 0x0b, 0xf2, 0x1c, 0x38, 0xa4, 0x28, 0xe3, 0x14, 0x39, 0xaa, 0x4c, 0xb1, 0x99, 0x14, 0x5a, - 0x04, 0x54, 0x82, 0xcc, 0x72, 0xc1, 0xec, 0x93, 0x08, 0x89, 0x6c, 0x7b, 0x3b, 0xfa, 0x9f, 0x8a, - 0x54, 0x98, 0xd5, 0xb8, 0xf8, 0xb2, 0xa9, 0xe8, 0xb0, 0x24, 0xce, 0x40, 0x42, 0xee, 0xc0, 0xe8, - 0xa8, 0x34, 0x4a, 0xc4, 0x74, 0x8a, 0x89, 0xce, 0x04, 0x77, 0xe3, 0x83, 0xd2, 0x38, 0xd3, 0x98, - 0xdb,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0x00, 0xff, 0xff, 0x65, 0xc1, 0x1c, 0xbd, 0xcd, 0x02, 0x00, - 0x00, + // 338 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0xd2, 0x4f, 0x4b, 0xfb, 0x30, + 0x18, 0x07, 0xf0, 0xf6, 0xb7, 0x3f, 0x87, 0x6c, 0xa7, 0xf2, 0x03, 0x6b, 0xc1, 0x38, 0x44, 0x64, + 0x28, 0xa6, 0x30, 0xdf, 0x80, 0x6c, 0x03, 0x99, 0x08, 0xca, 0x86, 0x17, 0x6f, 0x59, 0xf7, 0xd0, + 0x15, 0x97, 0x64, 0x24, 0x11, 0xf4, 0x5d, 0xf8, 0xb2, 0x76, 0x73, 0x47, 0x4f, 0x22, 0xdb, 0x1b, + 0x91, 0x26, 0x99, 0x5b, 0x2f, 0x76, 0xa7, 0x14, 0x9e, 0xe7, 0xfb, 0xe1, 0x4b, 0x79, 0x50, 0xa4, + 0xc5, 0x33, 0x70, 0x46, 0x39, 0x4d, 0x41, 0xc6, 0x29, 0x70, 0x50, 0x99, 0x22, 0x73, 0x29, 0xb4, + 0x08, 0xb0, 0xa4, 0x32, 0x63, 0x82, 0xd8, 0x27, 0x11, 0x12, 0xc8, 0xee, 0x76, 0xf4, 0x3f, 0x15, + 0xa9, 0x30, 0xab, 0x71, 0xfe, 0x65, 0x53, 0xd1, 0x61, 0x41, 0x9c, 0x53, 0x49, 0x99, 0x03, 0xa3, + 0xa3, 0xc2, 0x28, 0x11, 0xb3, 0x19, 0x24, 0x3a, 0x13, 0xdc, 0x8d, 0x0f, 0x0a, 0xe3, 0x4c, 0x03, + 0xb3, 0x83, 0x93, 0x8f, 0x0a, 0x6a, 0xde, 0xd8, 0x6a, 0x23, 0x4d, 0x35, 0x04, 0x7d, 0x54, 0xb7, + 0x70, 0xe8, 0xb7, 0xfc, 0x76, 0xa3, 0x73, 0x46, 0xfe, 0xae, 0x4a, 0x1e, 0xcc, 0x76, 0xb7, 0xba, + 0xf8, 0x3a, 0xf6, 0x86, 0x2e, 0x1b, 0x0c, 0x51, 0x63, 0xdb, 0x41, 0x85, 0xff, 0x5a, 0x95, 0x76, + 0xa3, 0x73, 0x5e, 0x46, 0xf5, 0x7e, 0x23, 0x8e, 0xdb, 0x45, 0x82, 0x5b, 0x54, 0x9b, 0x50, 0x4d, + 0x55, 0x58, 0x31, 0x1a, 0xd9, 0x5f, 0xeb, 0x53, 0x4d, 0x9d, 0x68, 0x89, 0xe0, 0x1a, 0xd5, 0xf2, + 0x9f, 0xa0, 0xc2, 0xaa, 0xb1, 0x4e, 0xcb, 0xac, 0x81, 0x06, 0xb6, 0x11, 0x4c, 0x30, 0x78, 0x44, + 0x4d, 0xc1, 0x7b, 0x53, 0x9a, 0xf1, 0x81, 0x81, 0x6a, 0x06, 0xba, 0x28, 0x83, 0xee, 0xb7, 0x19, + 0xe7, 0x15, 0x98, 0xbc, 0x98, 0x02, 0x98, 0xa8, 0xb0, 0xbe, 0x5f, 0xb1, 0x11, 0xc0, 0x64, 0x53, + 0xcc, 0x04, 0xbb, 0x77, 0x8b, 0x15, 0xf6, 0x97, 0x2b, 0xec, 0x7f, 0xaf, 0xb0, 0xff, 0xbe, 0xc6, + 0xde, 0x72, 0x8d, 0xbd, 0xcf, 0x35, 0xf6, 0x9e, 0x3a, 0x69, 0xa6, 0xa7, 0x2f, 0x63, 0x92, 0x08, + 0x16, 0x5b, 0xcf, 0x3d, 0x97, 0xb9, 0x1b, 0xbf, 0xc6, 0x85, 0x23, 0xd1, 0x6f, 0x73, 0x50, 0xe3, + 0xba, 0x39, 0x93, 0xab, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x9d, 0x30, 0xde, 0x29, 0xcd, 0x02, + 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/tokenmanager/types/item.pb.go b/x/tokenmanager/types/item.pb.go index 7aad5655..5adb4d34 100644 --- a/x/tokenmanager/types/item.pb.go +++ b/x/tokenmanager/types/item.pb.go @@ -381,37 +381,37 @@ func init() { func init() { proto.RegisterFile("tokenmanager/item.proto", fileDescriptor_e83fe9c71c21d068) } var fileDescriptor_e83fe9c71c21d068 = []byte{ - // 475 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0xd1, 0x8b, 0xd3, 0x4e, - 0x10, 0x6e, 0xae, 0xdb, 0xf6, 0x3a, 0x29, 0xfc, 0xc2, 0x70, 0xf0, 0x0b, 0x87, 0xc4, 0x23, 0x4f, - 0x87, 0x68, 0x72, 0x8d, 0x1c, 0x3e, 0xf7, 0x6a, 0x8a, 0x95, 0xbb, 0x2a, 0x31, 0x8a, 0x88, 0x20, - 0x7b, 0xc9, 0x92, 0x5b, 0x6c, 0xb2, 0x25, 0x59, 0xe1, 0xee, 0xbf, 0xf0, 0xcf, 0xba, 0xc7, 0x3e, - 0xfa, 0x24, 0xd2, 0xfe, 0x23, 0xb2, 0x9b, 0xf4, 0x8c, 0x22, 0x0a, 0x3e, 0xed, 0x7c, 0x33, 0xdf, - 0x7c, 0x99, 0x6f, 0xc2, 0xc0, 0xff, 0x52, 0x7c, 0x64, 0x45, 0x4e, 0x0b, 0x9a, 0xb1, 0xd2, 0xe7, - 0x92, 0xe5, 0xde, 0xaa, 0x14, 0x52, 0xa0, 0x53, 0xd2, 0x92, 0xe7, 0xc2, 0xab, 0x9f, 0x44, 0x94, - 0xcc, 0x6b, 0x53, 0x0f, 0x0f, 0x32, 0x91, 0x09, 0x4d, 0xf5, 0x55, 0x54, 0x77, 0xb9, 0x05, 0x8c, - 0xe6, 0x92, 0xe5, 0x17, 0x4c, 0xd2, 0x94, 0x4a, 0x8a, 0x87, 0xb0, 0xcf, 0x73, 0x9a, 0xb1, 0xd7, - 0x25, 0xb7, 0x8d, 0x23, 0xe3, 0x78, 0x18, 0xdd, 0x61, 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, 0x04, - 0xe8, 0x2f, 0x26, 0xf1, 0xfc, 0x4d, 0x68, 0x75, 0x70, 0x08, 0xbd, 0x30, 0x9a, 0x06, 0x27, 0x96, - 0xa1, 0xd2, 0x61, 0x34, 0x7d, 0x12, 0x8c, 0xad, 0x3d, 0x34, 0x61, 0x10, 0x46, 0xd3, 0xf1, 0xf8, - 0xf4, 0xd4, 0xea, 0xa2, 0x05, 0xa3, 0x8b, 0x30, 0x9e, 0xbc, 0x3c, 0x0f, 0xdf, 0x7e, 0x58, 0xcc, - 0x62, 0x8b, 0xe0, 0x7f, 0x60, 0xde, 0x65, 0x66, 0xb1, 0xd5, 0x53, 0xfc, 0x45, 0x38, 0x89, 0x14, - 0xe8, 0xe3, 0x08, 0xf6, 0x35, 0x50, 0xdc, 0xc1, 0xd9, 0xf9, 0xed, 0xc6, 0x31, 0xd6, 0x1b, 0xc7, - 0xf8, 0xb6, 0x71, 0x8c, 0xcf, 0x5b, 0xa7, 0xb3, 0xde, 0x3a, 0x9d, 0x2f, 0x5b, 0xa7, 0xf3, 0x2e, - 0xc8, 0xb8, 0x5c, 0xd2, 0x4b, 0x2f, 0x11, 0xb9, 0x5f, 0xfb, 0x6b, 0x9e, 0x47, 0xca, 0xa7, 0x7f, - 0xed, 0xff, 0x74, 0x3a, 0xf2, 0x66, 0xc5, 0xaa, 0xcb, 0xbe, 0x3e, 0x83, 0xc7, 0xdf, 0x03, 0x00, - 0x00, 0xff, 0xff, 0xd8, 0xca, 0x56, 0xb6, 0x57, 0x03, 0x00, 0x00, + // 474 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0x51, 0x6b, 0xd3, 0x50, + 0x14, 0x6e, 0xd6, 0xbb, 0x76, 0x3d, 0x29, 0x18, 0x0e, 0x03, 0xc3, 0x90, 0x38, 0xf2, 0x34, 0x44, + 0x93, 0x35, 0x32, 0x7c, 0xee, 0x6a, 0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2, 0x9e, 0x06, 0x8a, 0xdb, 0x3f, 0x3d, 0xbb, 0x5d, 0x3b, 0xc6, 0x6a, 0xed, 0x18, 0xdf, + 0xd7, 0x8e, 0xf1, 0x65, 0xe3, 0x74, 0x56, 0x1b, 0xa7, 0xf3, 0x75, 0xe3, 0x74, 0x3e, 0x04, 0x19, + 0x97, 0x8b, 0xab, 0x0b, 0x2f, 0x11, 0xb9, 0x5f, 0xfb, 0x6b, 0x9e, 0x27, 0xca, 0xa7, 0x7f, 0xed, + 0xff, 0x72, 0x3a, 0xf2, 0x66, 0xc9, 0xaa, 0x8b, 0x9e, 0x3e, 0x83, 0xa7, 0x3f, 0x02, 0x00, 0x00, + 0xff, 0xff, 0x20, 0x3b, 0x94, 0x22, 0x57, 0x03, 0x00, 0x00, } func (m *ItemMetadata) Marshal() (dAtA []byte, err error) { diff --git a/x/tokenmanager/types/params.pb.go b/x/tokenmanager/types/params.pb.go index 4c7a82bc..4852a830 100644 --- a/x/tokenmanager/types/params.pb.go +++ b/x/tokenmanager/types/params.pb.go @@ -31,6 +31,7 @@ const ( NetworkType_Solana NetworkType = 1 NetworkType_Near NetworkType = 2 NetworkType_Other NetworkType = 3 + NetworkType_Rarimo NetworkType = 4 ) var NetworkType_name = map[int32]string{ @@ -38,6 +39,7 @@ var NetworkType_name = map[int32]string{ 1: "Solana", 2: "Near", 3: "Other", + 4: "Rarimo", } var NetworkType_value = map[string]int32{ @@ -45,6 +47,7 @@ var NetworkType_value = map[string]int32{ "Solana": 1, "Near": 2, "Other": 3, + "Rarimo": 4, } func (x NetworkType) String() string { @@ -459,38 +462,39 @@ func init() { func init() { proto.RegisterFile("tokenmanager/params.proto", fileDescriptor_55f297a3c8945a13) } var fileDescriptor_55f297a3c8945a13 = []byte{ - // 495 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0x4f, 0x8f, 0xd2, 0x40, - 0x14, 0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0xd8, 0x86, - 0xd2, 0x90, 0x51, 0xe9, 0x14, 0x70, 0x15, 0xf6, 0xde, 0xa8, 0x4f, 0x4c, 0x3a, 0xc5, 0x83, 0x27, - 0xe0, 0xfc, 0xbb, 0x07, 0x19, 0xa8, 0x1b, 0x0e, 0x7a, 0xc7, 0x81, 0x63, 0x65, 0x4c, 0xfd, 0x20, - 0x70, 0x10, 0xbe, 0x05, 0xf6, 0xa0, 0x17, 0x0c, 0x47, 0x83, 0xd1, 0x07, 0xa7, 0xd0, 0x7d, 0x7d, - 0xb1, 0x74, 0xd1, 0xe5, 0xd2, 0x45, 0xbf, 0x97, 0x2e, 0xfa, 0xbe, 0x72, 0xad, 0xcb, 0x95, 0x6b, - 0xfd, 0x5c, 0xb9, 0xd6, 0xc7, 0x4e, 0x14, 0xab, 0x19, 0x1d, 0x93, 0x89, 0x48, 0xfc, 0xdc, 0xbf, - 0x39, 0x0e, 0xb3, 0x1c, 0xfe, 0x57, 0x7f, 0xeb, 0x87, 0xce, 0x36, 0x6e, 0x31, 0x2e, 0xeb, 0xcd, - 0x3a, 0xfa, 0x13, 0x00, 0x00, 0xff, 0xff, 0x1f, 0xd2, 0x20, 0xfa, 0xed, 0x03, 0x00, 0x00, + // 501 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0x4f, 0x6f, 0x12, 0x41, + 0x14, 0xdf, 0x01, 0xca, 0x9f, 0x87, 0x9a, 0xc9, 0x88, 0x86, 0x72, 0x58, 0xc9, 0x5e, 0x24, 0x35, + 0x9d, 0x35, 0x34, 0x5e, 0x35, 0x52, 0x96, 0x86, 0x68, 0xd1, 0xac, 0xc4, 0x44, 0x6f, 0x03, 0x4c, + 0xb7, 0x9b, 0xb2, 0x33, 0x64, 0x18, 0xd4, 0xfd, 0x00, 0xde, 0xfd, 0x1e, 0x7e, 0x91, 0x1e, 0x7b, + 0xf4, 0x64, 0x0c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, 0x1f, + 0x7e, 0xc2, 0xb9, 0xce, 0xdb, 0xcb, 0xa5, 0x8d, 0xae, 0x96, 0x36, 0xfa, 0xb3, 0xb4, 0xd1, 0x8f, + 0x95, 0x6d, 0x5d, 0xad, 0x6c, 0xeb, 0xd7, 0xca, 0xb6, 0x3e, 0xb7, 0x83, 0x50, 0x9f, 0x2f, 0x46, + 0x74, 0x2c, 0x23, 0x37, 0xcd, 0x92, 0x1d, 0x87, 0x49, 0x26, 0xf7, 0x9b, 0xbb, 0xf5, 0x73, 0x27, + 0xdb, 0x37, 0x1f, 0x15, 0xcd, 0x96, 0x1d, 0xfd, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xe7, 0xea, 0xd1, + 0xe0, 0xf9, 0x03, 0x00, 0x00, } func (m *Network) Marshal() (dAtA []byte, err error) { diff --git a/x/tokenmanager/types/proposal.pb.go b/x/tokenmanager/types/proposal.pb.go index a9fcbde7..fd78cb3d 100644 --- a/x/tokenmanager/types/proposal.pb.go +++ b/x/tokenmanager/types/proposal.pb.go @@ -1118,59 +1118,59 @@ func init() { proto.RegisterFile("tokenmanager/proposal.proto", fileDescriptor_0 var fileDescriptor_095086fc1f73fe4b = []byte{ // 843 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x56, 0x4f, 0x6f, 0xdc, 0x54, - 0x10, 0xdf, 0x97, 0xf5, 0xe6, 0xcf, 0x58, 0x54, 0xd1, 0x6b, 0x48, 0x9c, 0x50, 0x96, 0xc8, 0xaa, - 0x20, 0x02, 0xb1, 0x2b, 0xb9, 0x12, 0xe2, 0x50, 0x09, 0x6d, 0x36, 0x29, 0xac, 0xd4, 0xec, 0x56, - 0x66, 0x0b, 0x12, 0x17, 0xf4, 0xd6, 0x9e, 0x78, 0xad, 0xda, 0x7e, 0xd6, 0xdb, 0x97, 0xa6, 0xf9, - 0x0c, 0xbd, 0x70, 0x41, 0x20, 0x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, 0xef, 0x08, + 0xec, 0xb7, 0x7c, 0xff, 0x7f, 0x88, 0xec, 0x47, 0x02, 0xb7, 0xf4, 0x76, 0x59, 0x32, 0xb8, 0x4e, + 0x79, 0xcf, 0x98, 0xce, 0x9d, 0x57, 0x43, 0xd7, 0x49, 0x5d, 0xf3, 0x8d, 0x36, 0x02, 0xeb, 0x45, + 0x88, 0xab, 0xd9, 0x67, 0xef, 0xdf, 0x05, 0xb3, 0xf4, 0x12, 0xa3, 0x9b, 0x60, 0xf4, 0xfa, 0xbd, + 0xd3, 0xed, 0x0a, 0xb5, 0x60, 0xe7, 0xb8, 0xf5, 0x79, 0xa7, 0xfd, 0x75, 0xa7, 0xfb, 0xe0, 0xfe, + 0x69, 0xf7, 0xb4, 0x37, 0x68, 0x0d, 0x3a, 0xfd, 0xde, 0x36, 0xa1, 0x5b, 0x50, 0xeb, 0x0f, 0x3e, + 0x3b, 0x75, 0xb7, 0xd7, 0x8e, 0xef, 0x3f, 0xbb, 0xac, 0x93, 0xe7, 0x97, 0x75, 0xf2, 0xe7, 0x65, + 0x9d, 0x7c, 0x73, 0x55, 0xaf, 0x3c, 0xbf, 0xaa, 0x57, 0x7e, 0xbb, 0xaa, 0x57, 0xbe, 0x72, 0x82, + 0x50, 0x8e, 0xa6, 0xc3, 0x86, 0xc7, 0xa3, 0xa6, 0x26, 0x20, 0xfb, 0x7c, 0x98, 0x12, 0xd1, 0x7c, + 0xd2, 0x9c, 0x79, 0x4a, 0xa7, 0xef, 0xbf, 0xc9, 0x70, 0x5d, 0xbd, 0x97, 0xef, 0xfc, 0x15, 0x00, + 0x00, 0xff, 0xff, 0xeb, 0xa3, 0xa7, 0xd9, 0xf2, 0x0b, 0x00, 0x00, } func (m *ContractUpgradeDetails) Marshal() (dAtA []byte, err error) { diff --git a/x/tokenmanager/types/query.pb.go b/x/tokenmanager/types/query.pb.go index 6364eef3..96641527 100644 --- a/x/tokenmanager/types/query.pb.go +++ b/x/tokenmanager/types/query.pb.go @@ -1803,99 +1803,99 @@ func init() { func init() { proto.RegisterFile("tokenmanager/query.proto", fileDescriptor_d6c1b9fce48b6c34) } var fileDescriptor_d6c1b9fce48b6c34 = []byte{ - // 1463 bytes of a gzipped FileDescriptorProto + // 1464 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x59, 0x4d, 0x6f, 0x1b, 0xc5, - 0x1b, 0xcf, 0xc4, 0x6e, 0xab, 0x3c, 0x51, 0xfb, 0xff, 0x77, 0x88, 0x84, 0xb3, 0x10, 0x13, 0x96, + 0x1b, 0xcf, 0xc4, 0x6e, 0xab, 0x3e, 0x55, 0xfb, 0xff, 0x77, 0x88, 0x84, 0xb3, 0x10, 0x13, 0x96, 0x42, 0x9a, 0x04, 0xef, 0x36, 0x4e, 0x0b, 0x34, 0x55, 0x0a, 0xce, 0x4b, 0x53, 0xa7, 0xa5, 0x49, - 0x5d, 0x09, 0xa1, 0x56, 0xa8, 0x6c, 0xec, 0xc1, 0x35, 0x59, 0xef, 0xba, 0xeb, 0x6d, 0x69, 0x64, + 0x5d, 0x09, 0xa1, 0x56, 0xa8, 0x6c, 0xec, 0xc1, 0x31, 0x59, 0xef, 0xba, 0xeb, 0x4d, 0x69, 0x64, 0xb9, 0x07, 0xbe, 0x00, 0x48, 0x7c, 0x00, 0x10, 0x1c, 0xe0, 0xc2, 0x89, 0x03, 0x07, 0x0e, 0xc0, 0xad, 0x07, 0x24, 0x2a, 0x71, 0x41, 0x20, 0x21, 0x94, 0x70, 0xe0, 0x33, 0x20, 0x21, 0xa1, 0x99, 0x1d, 0x67, 0x67, 0xed, 0xb5, 0xf7, 0xc5, 0xdb, 0x4b, 0x6c, 0xcf, 0xce, 0xf3, 0x3c, 0xbf, 0xdf, - 0xf3, 0xb2, 0x33, 0x3f, 0x05, 0x32, 0xb6, 0xb9, 0x4b, 0x8c, 0xba, 0x66, 0x68, 0x55, 0x62, 0xa9, - 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xb7, 0x61, 0x2c, 0x6f, 0x6b, + 0x35, 0xa3, 0x0b, 0x51, 0x99, 0xae, 0x75, 0x10, 0xb1, 0x1f, 0x38, 0x03, 0xc7, 0xb4, 0x4a, 0xc5, + 0x22, 0xcd, 0x66, 0x66, 0x94, 0xad, 0x77, 0x7e, 0xd2, 0x27, 0x2c, 0x68, 0x71, 0x25, 0x93, 0x72, + 0x9e, 0xf0, 0x9f, 0x72, 0x19, 0x9e, 0x1f, 0x10, 0x2d, 0x21, 0x4a, 0xef, 0xf0, 0xbc, 0x16, 0x74, + 0x5d, 0x64, 0x71, 0x05, 0xc0, 0x6d, 0x6f, 0x06, 0x8c, 0xb6, 0x93, 0x33, 0x0b, 0x0a, 0x9d, 0x05, + 0xc5, 0x19, 0x3c, 0x3e, 0x0b, 0xca, 0xa6, 0x56, 0x25, 0xdc, 0xb6, 0x24, 0x58, 0xca, 0x9f, 0x22, + 0x5e, 0x8a, 0x43, 0xff, 0x3d, 0xb8, 0x53, 0x71, 0x70, 0xe3, 0x35, 0x0f, 0xc0, 0x51, 0xde, 0x5a, + 0x41, 0x00, 0x9d, 0xe0, 0x1e, 0x84, 0xef, 0xf1, 0xee, 0x5d, 0x23, 0xf6, 0x13, 0xad, 0x66, 0x05, + 0x9e, 0xf1, 0x8d, 0x73, 0x38, 0x26, 0x62, 0x1d, 0x67, 0x83, 0xf2, 0x21, 0xb8, 0xf0, 0x94, 0xf3, + 0x23, 0xe4, 0x36, 0x8d, 0xb8, 0x67, 0x6f, 0xc3, 0xde, 0x26, 0x56, 0xe2, 0xac, 0xf0, 0x24, 0x9c, + 0xb0, 0x35, 0xab, 0x4a, 0x6c, 0x16, 0x2a, 0x93, 0x66, 0x4f, 0xc5, 0x25, 0x79, 0x07, 0xe4, 0x41, + 0x80, 0x92, 0xa5, 0x7f, 0x17, 0xce, 0xfa, 0x06, 0xa3, 0x7f, 0xaf, 0x98, 0x16, 0x5b, 0xe9, 0x24, + 0x61, 0x02, 0x80, 0xda, 0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 0x32, + 0x4d, 0x42, 0x2a, 0x1d, 0x29, 0x43, 0xbf, 0x8b, 0xc2, 0xc1, 0xd9, 0xea, 0xde, 0x56, 0x0f, 0xf7, + 0x86, 0xb8, 0xad, 0x52, 0xdb, 0x0e, 0x17, 0xe6, 0x57, 0xb8, 0x65, 0x8b, 0x10, 0x92, 0xaa, 0x8b, + 0x78, 0xcb, 0xee, 0x83, 0x3b, 0x15, 0x07, 0x77, 0x62, 0x35, 0xc8, 0xff, 0x3c, 0x01, 0x47, 0x18, + 0x42, 0xfc, 0x39, 0x82, 0xa3, 0x8e, 0x44, 0xc4, 0xf9, 0x20, 0x3c, 0xbd, 0xd2, 0x57, 0x9a, 0x8f, + 0x64, 0xe3, 0x20, 0x91, 0xd5, 0x0f, 0x7f, 0xf9, 0xeb, 0x93, 0xd1, 0x69, 0x3c, 0xa5, 0x3a, 0x56, + 0xfc, 0x23, 0x47, 0xad, 0x55, 0x1f, 0xd1, 0x8e, 0xbf, 0x47, 0x70, 0xd2, 0x23, 0x67, 0xf1, 0xc5, + 0x50, 0x71, 0xfd, 0x34, 0xb3, 0xb4, 0x10, 0xc7, 0x94, 0x23, 0x7f, 0x95, 0x21, 0x9f, 0xc3, 0x6a, + 0x20, 0x72, 0xc3, 0xb1, 0x57, 0x5b, 0x54, 0x93, 0xb7, 0xf1, 0x57, 0x08, 0xd2, 0xf4, 0xf2, 0x85, + 0xc3, 0x25, 0xcc, 0x2b, 0xab, 0xa5, 0xf3, 0xd1, 0x8c, 0x38, 0xd8, 0x0b, 0x0c, 0xac, 0x8a, 0x73, + 0x81, 0x60, 0xe9, 0x55, 0x50, 0x6d, 0xb1, 0x33, 0xa2, 0x8d, 0x0f, 0x10, 0x9c, 0xee, 0x11, 0xb8, + 0xf8, 0x8d, 0x28, 0x10, 0xfc, 0x94, 0xb8, 0x54, 0x18, 0xc2, 0x03, 0x67, 0x54, 0x64, 0x8c, 0x96, + 0x71, 0x21, 0x24, 0x23, 0x76, 0x90, 0xb5,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, 0x0d, 0x2f, 0x08, 0x44, 0xf9, 0x29, 0x9f, 0x67, 0x68, 0x15, 0xfc, 0x72, 0x20, 0x5a, + 0xaa, 0x36, 0xd5, 0x16, 0xfd, 0xeb, 0xdc, 0x94, 0xa9, 0x9b, 0x48, 0x37, 0xe5, 0xe8, 0x60, 0xbb, + 0xb4, 0x72, 0x84, 0x9b, 0x32, 0x85, 0xb9, 0x74, 0xfd, 0xd1, 0x7e, 0x16, 0x3d, 0xde, 0xcf, 0xa2, + 0x3f, 0xf7, 0xb3, 0xe8, 0xe3, 0x83, 0xec, 0xc8, 0xe3, 0x83, 0xec, 0xc8, 0xaf, 0x07, 0xd9, 0x91, + 0xdb, 0xf9, 0x6a, 0xcd, 0xde, 0xde, 0xdd, 0x52, 0xca, 0x66, 0xdd, 0xcf, 0xd5, 0x03, 0xaf, 0x33, + 0x7b, 0xaf, 0x41, 0x9a, 0x5b, 0x47, 0xd9, 0xbf, 0x7b, 0xe7, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, + 0x87, 0xda, 0x3d, 0xa1, 0xdd, 0x1e, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/tokenmanager/types/tx.pb.go b/x/tokenmanager/types/tx.pb.go index 4af1502f..c1b174a2 100644 --- a/x/tokenmanager/types/tx.pb.go +++ b/x/tokenmanager/types/tx.pb.go @@ -33,9 +33,9 @@ var fileDescriptor_0b7dd519179c34b5 = []byte{ 0x7a, 0xc8, 0x0a, 0xa5, 0xc4, 0x51, 0xb4, 0x65, 0x96, 0xa4, 0xe6, 0x42, 0x34, 0x1a, 0xb1, 0x72, 0x31, 0xfb, 0x16, 0xa7, 0x3b, 0xf9, 0x9c, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, - 0x94, 0x51, 0x7a, 0x66, 0x49, 0x4e, 0x62, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 0xc4, 0x74, 0x28, + 0x94, 0x51, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 0xc4, 0x74, 0x28, 0xa5, 0x0b, 0xb2, 0x45, 0xbf, 0x42, 0x1f, 0xd5, 0x41, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0x60, - 0xb3, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xc9, 0xd0, 0x25, 0x32, 0xad, 0x00, 0x00, 0x00, + 0xb3, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x31, 0x21, 0xe7, 0xa6, 0xad, 0x00, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/vestingmint/README.md b/x/vestingmint/README.md index 98b989e7..a52395c5 100644 --- a/x/vestingmint/README.md +++ b/x/vestingmint/README.md @@ -1,3 +1,8 @@ +--- +layout: default +title: x/vestingmint +--- + # `x/vestingmint` ## Abstract diff --git a/x/vestingmint/types/genesis.pb.go b/x/vestingmint/types/genesis.pb.go index fa04f4a9..2173fdc9 100644 --- a/x/vestingmint/types/genesis.pb.go +++ b/x/vestingmint/types/genesis.pb.go @@ -95,10 +95,10 @@ var fileDescriptor_ede3e2dacccf61f8 = []byte{ 0xa0, 0x5a, 0x85, 0x3c, 0xb8, 0x38, 0xa0, 0x6a, 0x8a, 0x25, 0x98, 0x14, 0x98, 0x35, 0xb8, 0x8d, 0xd4, 0x08, 0x18, 0x13, 0x06, 0x61, 0x43, 0xcd, 0x81, 0xeb, 0x76, 0xf2, 0x3e, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, - 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0xc3, 0xf4, 0xcc, 0x92, 0x9c, 0xc4, 0x24, 0xbd, 0xe4, + 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0xc3, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x88, 0xa1, 0x50, 0x4a, 0x17, 0x64, 0xb8, 0x7e, 0x85, 0x3e, 0xb2, 0xa7, 0x4b, - 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0x7e, 0x36, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x8d, - 0xb3, 0x99, 0x5e, 0x7a, 0x01, 0x00, 0x00, + 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0x7e, 0x36, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x04, + 0xcf, 0x53, 0xf8, 0x7a, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/vestingmint/types/params.pb.go b/x/vestingmint/types/params.pb.go index b1873354..8ea0a8b2 100644 --- a/x/vestingmint/types/params.pb.go +++ b/x/vestingmint/types/params.pb.go @@ -74,10 +74,10 @@ var fileDescriptor_d3f34bcfc076f86a = []byte{ 0xf9, 0x45, 0xa9, 0x7a, 0x48, 0x6a, 0xa5, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0x2a, 0xf5, 0x41, 0x2c, 0x88, 0x26, 0x25, 0x0e, 0x2e, 0xb6, 0x00, 0xb0, 0x21, 0x4e, 0xde, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, - 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0x65, 0x98, 0x9e, 0x59, 0x92, 0x93, 0x98, 0xa4, 0x97, 0x9c, + 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0x65, 0x98, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x0f, 0x31, 0x1c, 0x4a, 0xe9, 0x82, 0x2c, 0xd1, 0xaf, 0xd0, 0x47, 0x76, 0x52, 0x49, - 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0xd8, 0x74, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2c, - 0xf0, 0x20, 0x46, 0xae, 0x00, 0x00, 0x00, + 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0xd8, 0x74, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa5, + 0x8c, 0xea, 0xe0, 0xae, 0x00, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/vestingmint/types/query.pb.go b/x/vestingmint/types/query.pb.go index a1460fb0..be1579ca 100644 --- a/x/vestingmint/types/query.pb.go +++ b/x/vestingmint/types/query.pb.go @@ -313,35 +313,35 @@ var fileDescriptor_d200e261b7c99117 = []byte{ // 495 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x31, 0x6f, 0x13, 0x31, 0x14, 0xc7, 0xe3, 0x92, 0xa6, 0x92, 0xd9, 0x4c, 0x44, 0x4b, 0x04, 0x07, 0xb2, 0x44, 0x5b, 0x90, - 0xb0, 0x75, 0x41, 0xc0, 0xdc, 0x22, 0xb5, 0x03, 0x4b, 0xc9, 0xc0, 0xd0, 0x09, 0x27, 0x58, 0x96, - 0xa5, 0x3b, 0xfb, 0x7a, 0x76, 0xab, 0x56, 0x88, 0x85, 0x99, 0x01, 0x89, 0x0f, 0xc0, 0x8e, 0x58, - 0xf8, 0x16, 0x1d, 0x2b, 0xb1, 0x30, 0x21, 0x94, 0xf0, 0x41, 0x50, 0xec,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, 0x2f, 0x07, 0x58, 0xf2, 0x09, 0xe1, 0x4e, 0x5c, 0x22, 0x49, 0x17, + 0x40, 0xd5, 0x53, 0xd4, 0xeb, 0x5f, 0x44, 0x12, 0x39, 0x28, 0x7b, 0xf7, 0xed, 0xd7, 0xc7, 0xa5, + 0x4d, 0xb2, 0xce, 0xa3, 0x08, 0x1e, 0x0f, 0x66, 0x62, 0x5e, 0x0f, 0x38, 0xf9, 0x8a, 0xf0, 0x0a, + 0xbc, 0x0f, 0xf2, 0xa8, 0x49, 0xbf, 0x5a, 0xec, 0x7a, 0x8f, 0x2f, 0x2a, 0x03, 0xd4, 0x27, 0x01, + 0x35, 0x25, 0x7c, 0x11, 0x2a, 0x9c, 0xf9, 0x9b, 0x10, 0xe8, 0xb7, 0xe4, 0x0b, 0xc2, 0x18, 0xcc, + 0xb6, 0xb2, 0xac, 0x19, 0x76, 0x2d, 0x9a, 0xcd, 0xb0, 0xeb, 0x71, 0xa3, 0x3c, 0x60, 0xdf, 0x23, + 0x1b, 0x0d, 0xb1, 0xb7, 0x9f, 0x9d, 0x4c, 0x12, 0x74, 0x3a, 0x49, 0xd0, 0xcf, 0x49, 0x82, 0x3e, + 0x4c, 0x93, 0xd6, 0xe9, 0x34, 0x69, 0x7d, 0x9f, 0x26, 0xad, 0xfd, 0x54, 0x69, 0xff, 0x7a, 0x3c, + 0x64, 0x23, 0x9b, 0x9f, 0x67, 0x76, 0x34, 0x67, 0xe7, 0x8f, 0x0b, 0xe9, 0x86, 0x9d, 0xf0, 0xd9, + 0x79, 0xf8, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x5d, 0x4f, 0x74, 0xd8, 0x45, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/vestingmint/types/tx.pb.go b/x/vestingmint/types/tx.pb.go index 211e0112..273e2ff1 100644 --- a/x/vestingmint/types/tx.pb.go +++ b/x/vestingmint/types/tx.pb.go @@ -32,10 +32,10 @@ var fileDescriptor_e3426739e2d59792 = []byte{ 0x17, 0x92, 0x2d, 0x4a, 0x2c, 0xca, 0xcc, 0xcd, 0xd7, 0x83, 0x50, 0xc9, 0xf9, 0x45, 0xa9, 0x7a, 0x48, 0xea, 0x8c, 0x58, 0xb9, 0x98, 0x7d, 0x8b, 0xd3, 0x9d, 0xbc, 0x4f, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, - 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x30, 0x3d, 0xb3, 0x24, 0x27, 0x31, 0x49, 0x2f, 0x39, 0x3f, + 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x30, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x1f, 0x62, 0x06, 0x94, 0xd2, 0x05, 0x99, 0xa5, 0x5f, 0xa1, 0x8f, 0x62, 0x6b, 0x65, 0x41, - 0x6a, 0x71, 0x12, 0x1b, 0xd8, 0x66, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x66, 0x48, 0x24, - 0xd0, 0x91, 0x00, 0x00, 0x00, + 0x6a, 0x71, 0x12, 0x1b, 0xd8, 0x66, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xef, 0x34, 0xee, + 0x76, 0x91, 0x00, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/vestingmint/types/vesting.pb.go b/x/vestingmint/types/vesting.pb.go index 501f7617..c9adefe2 100644 --- a/x/vestingmint/types/vesting.pb.go +++ b/x/vestingmint/types/vesting.pb.go @@ -125,22 +125,22 @@ var fileDescriptor_bf0afe40e800cecd = []byte{ // 282 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0x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c4, 0x06, 0xc6, 0xa9, 0x97, 0x66, 0x19, 0x6c, 0x35, 0xf2, 0x7f, 0x3e, 0x09, 0xe6, 0xc9, 0x29, + 0x32, 0x9f, 0xfe, 0xaf, 0xd2, 0x5d, 0x29, 0x35, 0x36, 0x7c, 0xe2, 0x4f, 0x82, 0x79, 0xec, 0xee, + 0x3f, 0x6f, 0x9c, 0xe4, 0x87, 0x32, 0x9f, 0x9e, 0xe5, 0x72, 0x83, 0x69, 0xbc, 0x81, 0xec, 0xb5, + 0xe1, 0xae, 0xb9, 0x3b, 0x46, 0xec, 0x96, 0x5e, 0x68, 0xd9, 0xe2, 0x4a, 0x56, 0xd0, 0x28, 0x34, + 0x90, 0x4f, 0x8d, 0xf6, 0x87, 0xb3, 0x25, 0x3d, 0x3f, 0x5d, 0x5e, 0x81, 0x96, 0x7c, 0x66, 0xbc, + 0x5f, 0x6c, 0x78, 0x43, 0x2e, 0x35, 0x94, 0xdc, 0x33, 0xff, 0x6a, 0x43, 0xfc, 0xb8, 0xef, 0x04, + 0x39, 0x74, 0x82, 0x7c, 0x75, 0x82, 0xbc, 0xf7, 0xc2, 0x39, 0xf4, 0xc2, 0xf9, 0xe8, 0x85, 0xf3, + 0x7c, 0x5f, 0x28, 0x7c, 0xd9, 0xae, 0xc3, 0x0c, 0xca, 0xc8, 0x16, 0x77, 0x1c, 0x77, 0x43, 0x81, + 0x51, 0x1b, 0x8d, 0xfb, 0xc6, 0x5d, 0x25, 0x9b, 0xf5, 0xcc, 0x34, 0xf7, 0xf0, 0x1d, 0x00, 0x00, + 0xff, 0xff, 0x79, 0x50, 0x5e, 0x84, 0x8b, 0x01, 0x00, 0x00, } func (m *Vesting) Marshal() (dAtA []byte, err error) {