architecture
modules
emissions
Messages

UpdateParams defines a governance operation for updating the x/emissions module parameters. The authority is hard-coded to the x/gov module account.

message MsgUpdateParams {
	string authority = 1;
	Params params = 2;
}

WithdrawEmission allows the user to withdraw from their withdrawable emissions. on a successful withdrawal, the amount is transferred from the undistributed rewards pool to the user's account. if the amount to be withdrawn is greater than the available withdrawable emission, the max available amount is withdrawn. if the pool does not have enough balance to process this request, an error is returned.

message MsgWithdrawEmission {
	string creator = 1;
	string amount = 2;
}

How's your journey with ZetaChain?
Let us know