Allow direct commission change vesting contract
AIP-48 - Allow direct commission change vesting contract
Section titled “AIP-48 - Allow direct commission change vesting contract”Summary
Section titled “Summary”The commission rate cannot be directly changed for a vesting contract after it’s been created. Vesting contract owner can currently get around this by updating the operator and commission rate to a temporary different operator address, and then change it back in order to only change the commission rate. This can lead to potential validator node downtime. This proposes allowing the vesting contract owner to change the commission directly while keeping the same operator.
Motivation
Section titled “Motivation”Goals and Solution
Section titled “Goals and Solution”Allow the vesting contract owner to update commission directly while keeping the same operator. This should ensure the operator is still fairly paid with the previous commission rate for any earned rewards until the moment of change. Future rewards should use the updated commission rate.
Impact
Section titled “Impact”Vesting contract owners and corresponding operators.
Testing
Section titled “Testing”- What is the testing plan? Automated unit tests and testing in devnet/testnet before releasing to mainnet.
Risks and Drawbacks
Section titled “Risks and Drawbacks”None. The vesting contract owner can technically already do this today via update_operator.
Backwards compatibility
Section titled “Backwards compatibility”N/A
Security Considerations
Section titled “Security Considerations”The framework change in vesting.move will be audited before considered complete.
Timeline
Section titled “Timeline”Suggested deployment timeline
Section titled “Suggested deployment timeline”This change will be part of the v1.7 release. Testnet: September 2023. Mainnet: Sep-Oct 2023.