2023-11-29 21:13:20 +00:00
|
|
|
use cosmwasm_schema::{cw_serde, QueryResponses};
|
|
|
|
|
|
|
|
#[cw_serde]
|
|
|
|
pub struct InstantiateMsg;
|
|
|
|
|
|
|
|
#[cw_serde]
|
|
|
|
pub enum ExecuteMsg {}
|
|
|
|
|
2023-11-29 21:37:02 +00:00
|
|
|
pub mod execute {
|
|
|
|
use super::*;
|
|
|
|
|
|
|
|
#[cw_serde]
|
|
|
|
pub struct Nonce([u8; 32]);
|
|
|
|
|
|
|
|
#[cw_serde]
|
|
|
|
pub struct JoinComputeNodeMsg {
|
|
|
|
compute_node_pub_key: String,
|
|
|
|
nonce: Nonce,
|
|
|
|
}
|
|
|
|
|
|
|
|
#[cw_serde]
|
|
|
|
pub struct ShareEpochKeyMsg {
|
|
|
|
compute_node_pub_key: String,
|
|
|
|
nonce: Nonce,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-11-29 21:13:20 +00:00
|
|
|
#[cw_serde]
|
|
|
|
#[derive(QueryResponses)]
|
|
|
|
pub enum QueryMsg {}
|