Skip to content

Commit

Permalink
make generate
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed May 28, 2024
1 parent 13367cb commit 42ea82c
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/openapi/openapi.swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56744,6 +56744,18 @@ definitions:
description: |-
QueryGetPoliciesResponse is the response type for the Query/Policies RPC
method.
chainsCCTXGateway:
type: string
enum:
- zevm
- observers
default: zevm
description: |-
- zevm: zevm is the internal CCTX gateway to process outbound on the ZEVM in
ZetaChain only used for ZetaChain chains
- observers: observers is the CCTX gateway for chains relying on the observer set to
observe inbounds and TSS for outbounds
title: CCTXGateway describes for the chain the gateway used to handle CCTX outbounds
chainsChain:
type: object
properties:
Expand All @@ -56769,6 +56781,9 @@ definitions:
is_external:
type: boolean
title: IsExternal describe if the chain is ZetaChain or external
cctx_gateway:
$ref: '#/definitions/chainsCCTXGateway'
title: CCTXGateway is the gateway used to handle CCTX outbounds
title: |-
Chain represents static data about a blockchain network
it is identified by a unique chain ID
Expand Down
30 changes: 30 additions & 0 deletions typescript/zetachain/zetacore/pkg/chains/chains_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,29 @@ export declare enum Consensus {
op_stack = 3,
}

/**
* CCTXGateway describes for the chain the gateway used to handle CCTX outbounds
*
* @generated from enum zetachain.zetacore.pkg.chains.CCTXGateway
*/
export declare enum CCTXGateway {
/**
* zevm is the internal CCTX gateway to process outbound on the ZEVM in
* ZetaChain only used for ZetaChain chains
*
* @generated from enum value: zevm = 0;
*/
zevm = 0,

/**
* observers is the CCTX gateway for chains relying on the observer set to
* observe inbounds and TSS for outbounds
*
* @generated from enum value: observers = 1;
*/
observers = 1,
}

/**
* Chain represents static data about a blockchain network
* it is identified by a unique chain ID
Expand Down Expand Up @@ -309,6 +332,13 @@ export declare class Chain extends Message<Chain> {
*/
isExternal: boolean;

/**
* CCTXGateway is the gateway used to handle CCTX outbounds
*
* @generated from field: zetachain.zetacore.pkg.chains.CCTXGateway cctx_gateway = 8;
*/
cctxGateway: CCTXGateway;

constructor(data?: PartialMessage<Chain>);

static readonly runtime: typeof proto3;
Expand Down

0 comments on commit 42ea82c

Please sign in to comment.