tg_bindings/
lib.rs

1mod gov;
2mod hooks;
3mod msg;
4mod query;
5mod sudo;
6mod validator;
7
8pub use gov::{GovProposal, ParamChange, ProtoAny};
9pub use hooks::{request_privileges, Privilege, PrivilegeMsg};
10pub use msg::{BlockParams, ConsensusParams, EvidenceParams, TgradeMsg};
11pub use query::{ListPrivilegedResponse, TgradeQuery, ValidatorVoteResponse};
12pub use sudo::{Evidence, EvidenceType, PrivilegeChangeMsg, TgradeSudoMsg, ValidatorDiff};
13pub use validator::{
14    Ed25519Pubkey, Ed25519PubkeyConversionError, Pubkey, ToAddress, Validator, ValidatorUpdate,
15    ValidatorVote,
16};
17
18// This is a signal, such that any contract that imports these helpers will only run on the tgrade
19// blockchain
20#[no_mangle]
21extern "C" fn requires_tgrade() {}