Skip to content

Commit

Permalink
chore: update proto
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeseung-bae committed May 8, 2024
1 parent 1f5acaf commit 98abad6
Show file tree
Hide file tree
Showing 3 changed files with 203 additions and 66 deletions.
23 changes: 19 additions & 4 deletions docs/core/proto-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,8 @@
- [Swapped](#lbm.fswap.v1.Swapped)

- [lbm/fswap/v1/event.proto](#lbm/fswap/v1/event.proto)
- [EventMakeSwapProposal](#lbm.fswap.v1.EventMakeSwapProposal)
- [EventAddDenomMetadata](#lbm.fswap.v1.EventAddDenomMetadata)
- [EventMakeSwap](#lbm.fswap.v1.EventMakeSwap)
- [EventSwapCoins](#lbm.fswap.v1.EventSwapCoins)

- [lbm/fswap/v1/genesis.proto](#lbm/fswap/v1/genesis.proto)
Expand Down Expand Up @@ -14211,16 +14212,30 @@ From cosmos-sdk 0.46.0 they deprecated this way, but currently finschia-sdk base



<a name="lbm.fswap.v1.EventMakeSwapProposal"></a>
<a name="lbm.fswap.v1.EventAddDenomMetadata"></a>

### EventMakeSwapProposal
### EventAddDenomMetadata



| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `metadata` | [cosmos.bank.v1beta1.Metadata](#cosmos.bank.v1beta1.Metadata) | | |






<a name="lbm.fswap.v1.EventMakeSwap"></a>

### EventMakeSwap



| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `swap` | [Swap](#lbm.fswap.v1.Swap) | | |
| `to_denom_metadata` | [cosmos.bank.v1beta1.Metadata](#cosmos.bank.v1beta1.Metadata) | | |



Expand Down
9 changes: 6 additions & 3 deletions proto/lbm/fswap/v1/event.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ message EventSwapCoins {
[(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/Finschia/finschia-sdk/types.Coin"];
}

message EventMakeSwapProposal {
Swap swap = 1 [(gogoproto.nullable) = false];
cosmos.bank.v1beta1.Metadata to_denom_metadata = 2
message EventMakeSwap {
Swap swap = 1 [(gogoproto.nullable) = false];
}

message EventAddDenomMetadata {
cosmos.bank.v1beta1.Metadata metadata = 1
[(gogoproto.moretags) = "yaml:\"denom_metadata\"", (gogoproto.nullable) = false];
}
Loading

0 comments on commit 98abad6

Please sign in to comment.