-
Notifications
You must be signed in to change notification settings - Fork 115
/
type_urls.rs
146 lines (112 loc) · 4.99 KB
/
type_urls.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
//! Registry of type URLs associated with various protobuf types defined in
//! this crate.
// TODO(tarcieri): leverage first-class support for type URLs in prost?
// See: https://github.com/tokio-rs/prost/issues/299
use crate::{cosmos, ibc, traits::TypeUrl};
#[cfg(feature = "cosmwasm")]
use crate::cosmwasm;
impl TypeUrl for cosmos::bank::v1beta1::MsgSend {
const TYPE_URL: &'static str = "/cosmos.bank.v1beta1.MsgSend";
}
impl TypeUrl for cosmos::bank::v1beta1::MsgMultiSend {
const TYPE_URL: &'static str = "/cosmos.bank.v1beta1.MsgMultiSend";
}
impl TypeUrl for cosmos::distribution::v1beta1::MsgSetWithdrawAddress {
const TYPE_URL: &'static str = "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress";
}
impl TypeUrl for cosmos::distribution::v1beta1::MsgWithdrawDelegatorReward {
const TYPE_URL: &'static str = "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward";
}
impl TypeUrl for cosmos::distribution::v1beta1::MsgWithdrawValidatorCommission {
const TYPE_URL: &'static str = "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission";
}
impl TypeUrl for cosmos::distribution::v1beta1::MsgFundCommunityPool {
const TYPE_URL: &'static str = "/cosmos.distribution.v1beta1.MsgFundCommunityPool";
}
impl TypeUrl for cosmos::feegrant::v1beta1::MsgGrantAllowance {
const TYPE_URL: &'static str = "/cosmos.feegrant.v1beta1.MsgGrantAllowance";
}
impl TypeUrl for cosmos::feegrant::v1beta1::MsgRevokeAllowance {
const TYPE_URL: &'static str = "/cosmos.feegrant.v1beta1.MsgRevokeAllowance";
}
impl TypeUrl for cosmos::feegrant::v1beta1::BasicAllowance {
const TYPE_URL: &'static str = "/cosmos.feegrant.v1beta1.BasicAllowance";
}
impl TypeUrl for cosmos::feegrant::v1beta1::PeriodicAllowance {
const TYPE_URL: &'static str = "/cosmos.feegrant.v1beta1.PeriodicAllowance";
}
impl TypeUrl for cosmos::feegrant::v1beta1::AllowedMsgAllowance {
const TYPE_URL: &'static str = "/cosmos.feegrant.v1beta1.AllowedMsgAllowance";
}
impl TypeUrl for cosmos::staking::v1beta1::MsgDelegate {
const TYPE_URL: &'static str = "/cosmos.staking.v1beta1.MsgDelegate";
}
impl TypeUrl for cosmos::staking::v1beta1::MsgUndelegate {
const TYPE_URL: &'static str = "/cosmos.staking.v1beta1.MsgUndelegate";
}
impl TypeUrl for cosmos::staking::v1beta1::MsgBeginRedelegate {
const TYPE_URL: &'static str = "/cosmos.staking.v1beta1.MsgBeginRedelegate";
}
impl TypeUrl for cosmos::base::abci::v1beta1::MsgData {
const TYPE_URL: &'static str = "/cosmos.base.v1beta1.abci.MsgData";
}
impl TypeUrl for cosmos::base::abci::v1beta1::TxMsgData {
const TYPE_URL: &'static str = "/cosmos.base.v1beta1.abci.TxMsgData";
}
impl TypeUrl for cosmos::auth::v1beta1::BaseAccount {
const TYPE_URL: &'static str = "/cosmos.auth.v1beta1.BaseAccount";
}
impl TypeUrl for cosmos::auth::v1beta1::ModuleAccount {
const TYPE_URL: &'static str = "/cosmos.auth.v1beta1.ModuleAccount";
}
#[cfg(feature = "cosmwasm")]
impl TypeUrl for cosmwasm::wasm::v1::MsgStoreCode {
const TYPE_URL: &'static str = "/cosmwasm.wasm.v1.MsgStoreCode";
}
#[cfg(feature = "cosmwasm")]
impl TypeUrl for cosmwasm::wasm::v1::MsgInstantiateContract {
const TYPE_URL: &'static str = "/cosmwasm.wasm.v1.MsgInstantiateContract";
}
#[cfg(feature = "cosmwasm")]
impl TypeUrl for cosmwasm::wasm::v1::MsgExecuteContract {
const TYPE_URL: &'static str = "/cosmwasm.wasm.v1.MsgExecuteContract";
}
#[cfg(feature = "cosmwasm")]
impl TypeUrl for cosmwasm::wasm::v1::MsgMigrateContract {
const TYPE_URL: &'static str = "/cosmwasm.wasm.v1.MsgMigrateContract";
}
#[cfg(feature = "cosmwasm")]
impl TypeUrl for cosmwasm::wasm::v1::MsgUpdateAdmin {
const TYPE_URL: &'static str = "/cosmwasm.wasm.v1.MsgUpdateAdmin";
}
#[cfg(feature = "cosmwasm")]
impl TypeUrl for cosmwasm::wasm::v1::MsgClearAdmin {
const TYPE_URL: &'static str = "/cosmwasm.wasm.v1.MsgClearAdmin";
}
#[cfg(feature = "cosmwasm")]
impl TypeUrl for cosmwasm::wasm::v1::MsgStoreCodeResponse {
const TYPE_URL: &'static str = "/cosmwasm.wasm.v1.MsgStoreCodeResponse";
}
#[cfg(feature = "cosmwasm")]
impl TypeUrl for cosmwasm::wasm::v1::MsgInstantiateContractResponse {
const TYPE_URL: &'static str = "/cosmwasm.wasm.v1.MsgInstantiateContractResponse";
}
#[cfg(feature = "cosmwasm")]
impl TypeUrl for cosmwasm::wasm::v1::MsgExecuteContractResponse {
const TYPE_URL: &'static str = "/cosmwasm.wasm.v1.MsgExecuteContractResponse";
}
#[cfg(feature = "cosmwasm")]
impl TypeUrl for cosmwasm::wasm::v1::MsgMigrateContractResponse {
const TYPE_URL: &'static str = "/cosmwasm.wasm.v1.MsgMigrateContractResponse";
}
#[cfg(feature = "cosmwasm")]
impl TypeUrl for cosmwasm::wasm::v1::MsgUpdateAdminResponse {
const TYPE_URL: &'static str = "/cosmwasm.wasm.v1.MsgUpdateAdminResponse";
}
#[cfg(feature = "cosmwasm")]
impl TypeUrl for cosmwasm::wasm::v1::MsgClearAdminResponse {
const TYPE_URL: &'static str = "/cosmwasm.wasm.v1.MsgClearAdminResponse";
}
impl TypeUrl for ibc::applications::transfer::v1::MsgTransfer {
const TYPE_URL: &'static str = "/ibc.applications.transfer.v1.MsgTransfer";
}