Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update module and OpenAPI specs from the node repo #128

Merged
merged 1 commit into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/architecture/modules/crosschain/messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ message MsgVoteOnObservedOutboundTx {
string cctx_hash = 2;
string observed_outTx_hash = 3;
uint64 observed_outTx_blockHeight = 4;
uint64 observed_outTx_gas_used = 10;
string observed_outTx_effective_gas_price = 11;
string zeta_minted = 5;
common.ReceiveStatus status = 6;
int64 outTx_chain = 7;
Expand Down Expand Up @@ -216,3 +218,12 @@ message MsgWhitelistERC20 {
}
```

## MsgUpdateTssAddress

```proto
message MsgUpdateTssAddress {
string creator = 1;
string tss_pubkey = 2;
}
```

4 changes: 2 additions & 2 deletions docs/architecture/modules/fungible/messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## MsgDeployFungibleCoinZRC20

Deploys a fungible coin from a connected chains as a ZRC20 on ZetaChain.
DeployFungibleCoinZRC20 deploys a fungible coin from a connected chains as a ZRC20 on ZetaChain.

If this is a gas coin, the following happens:

Expand Down Expand Up @@ -36,7 +36,7 @@ message MsgDeployFungibleCoinZRC20 {

## MsgRemoveForeignCoin

Removes a coin from the list of foreign coins in the module's state.
RemoveForeignCoin removes a coin from the list of foreign coins in the module's state.

Only the admin policy account is authorized to broadcast this message.

Expand Down
9 changes: 6 additions & 3 deletions docs/architecture/modules/observer/messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@

## MsgAddObserver

Not implemented.
AddObserver adds in a new observer to the store.It can be executed using an admin policy account
Once added, the function also resets keygen and pauses inbound so that a new TSS can be generated.

```proto
message MsgAddObserver {
string creator = 1;
int64 chain_id = 2;
ObservationType observationType = 3;
string observer_address = 2;
string zetaclient_grantee_pubkey = 3;
bool add_node_account_only = 4;
}
```

Expand Down Expand Up @@ -50,6 +52,7 @@ Only the admin policy account is authorized to broadcast this message.
message MsgUpdatePermissionFlags {
string creator = 1;
bool isInboundEnabled = 3;
bool isOutboundEnabled = 4;
}
```

Expand Down
Loading