|
@@ -199,12 +199,14 @@ pub struct MoneyTokenFreezeUpdateV1 {
|
|
|
|
|
|
|
|
/// Parameters for `Money::Stake`
|
|
/// Parameters for `Money::Stake`
|
|
|
#[derive(Clone, Debug, SerialEncodable, SerialDecodable)]
|
|
#[derive(Clone, Debug, SerialEncodable, SerialDecodable)]
|
|
|
|
|
+// ANCHOR: MoneyStakeParams
|
|
|
pub struct MoneyStakeParamsV1 {
|
|
pub struct MoneyStakeParamsV1 {
|
|
|
/// Blinding factor for `token_id`
|
|
/// Blinding factor for `token_id`
|
|
|
pub token_blind: pallas::Scalar,
|
|
pub token_blind: pallas::Scalar,
|
|
|
/// Anonymous input
|
|
/// Anonymous input
|
|
|
pub input: Input,
|
|
pub input: Input,
|
|
|
}
|
|
}
|
|
|
|
|
+// ANCHOR_END: MoneyStakeParams
|
|
|
|
|
|
|
|
/// State update for `Money::Stake`
|
|
/// State update for `Money::Stake`
|
|
|
#[derive(Clone, Debug, SerialEncodable, SerialDecodable)]
|
|
#[derive(Clone, Debug, SerialEncodable, SerialDecodable)]
|
|
@@ -239,12 +241,14 @@ pub struct MoneyUnstakeUpdateV1 {
|
|
|
|
|
|
|
|
/// Parameters for `Consensus::Stake`
|
|
/// Parameters for `Consensus::Stake`
|
|
|
#[derive(Clone, Debug, SerialEncodable, SerialDecodable)]
|
|
#[derive(Clone, Debug, SerialEncodable, SerialDecodable)]
|
|
|
|
|
+// ANCHOR: ConsensusStakeParams
|
|
|
pub struct ConsensusStakeParamsV1 {
|
|
pub struct ConsensusStakeParamsV1 {
|
|
|
/// Burnt token revealed info
|
|
/// Burnt token revealed info
|
|
|
pub input: ConsensusInput,
|
|
pub input: ConsensusInput,
|
|
|
/// Anonymous output
|
|
/// Anonymous output
|
|
|
pub output: ConsensusOutput,
|
|
pub output: ConsensusOutput,
|
|
|
}
|
|
}
|
|
|
|
|
+// ANCHOR_END: ConsensusStakeParams
|
|
|
|
|
|
|
|
/// State update for `Consensus::Stake`
|
|
/// State update for `Consensus::Stake`
|
|
|
#[derive(Clone, Debug, SerialEncodable, SerialDecodable)]
|
|
#[derive(Clone, Debug, SerialEncodable, SerialDecodable)]
|