IxGateSet: Log AccountBuybackFeesWithMngo state
This commit is contained in:
parent
fd0bd1d6d5
commit
d1e3da2b75
|
@ -64,6 +64,7 @@ pub fn ix_gate_set(ctx: Context<IxGateSet>, ix_gate: u128) -> Result<()> {
|
|||
log_if_changed(&group, ix_gate, IxGate::TokenRegisterTrustless);
|
||||
log_if_changed(&group, ix_gate, IxGate::TokenUpdateIndexAndRate);
|
||||
log_if_changed(&group, ix_gate, IxGate::TokenWithdraw);
|
||||
log_if_changed(&group, ix_gate, IxGate::AccountBuybackFeesWithMngo);
|
||||
|
||||
group.ix_gate = ix_gate;
|
||||
|
||||
|
|
|
@ -187,6 +187,7 @@ pub enum IxGate {
|
|||
TokenUpdateIndexAndRate = 46,
|
||||
TokenWithdraw = 47,
|
||||
AccountBuybackFeesWithMngo = 48,
|
||||
// NOTE: Adding new variants requires matching changes in ts and the ix_gate_set instruction.
|
||||
}
|
||||
|
||||
// note: using creator instead of admin, since admin can be changed
|
||||
|
|
Loading…
Reference in New Issue