@@ -4,9 +4,19 @@ type HostChainFeeAbsConfigResponse struct {
44 HostChainConfig HostChainFeeAbsConfig `json:"host_chain_config"`
55}
66
7+ const (
8+ HostChainFeeAbsStatus_UPDATED string = "UPDATED"
9+ HostChainFeeAbsStatus_OUTDATED string = "OUTDATED"
10+ HostChainFeeAbsStatus_FROZEN string = "FROZEN"
11+ )
12+
713type HostChainFeeAbsConfig struct {
8- IbcDenom string `json:"ibc_denom"`
9- OsmosisPoolTokenDenomIn string `json:"osmosis_pool_token_denom_in"`
10- PoolId string `json:"pool_id"`
11- Frozen bool `json:"frozen"`
14+ // ibc token is allowed to be used as fee token
15+ IbcDenom string `protobuf:"bytes,1,opt,name=ibc_denom,json=ibcDenom,proto3" json:"ibc_denom,omitempty" yaml:"allowed_token"`
16+ // token_in in cross_chain swap contract.
17+ OsmosisPoolTokenDenomIn string `protobuf:"bytes,2,opt,name=osmosis_pool_token_denom_in,json=osmosisPoolTokenDenomIn,proto3" json:"osmosis_pool_token_denom_in,omitempty"`
18+ // pool id
19+ PoolId string `protobuf:"varint,3,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"`
20+ // Host chain fee abstraction connection status
21+ Status string `protobuf:"varint,4,opt,name=status,proto3,enum=feeabstraction.feeabs.v1beta1.HostChainFeeAbsStatus" json:"status,omitempty"`
1222}
0 commit comments