-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new entry function create_vesting_contract_with_amounts
#82
base: dev
Are you sure you want to change the base?
Conversation
) acquires AdminStore { | ||
assert!(!system_addresses::is_reserved_address(withdrawal_address), | ||
error::invalid_argument(EINVALID_WITHDRAWAL_ADDRESS),); | ||
assert_account_is_registered_for_apt(withdrawal_address); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@axiongsupra , create an issue to replace assert_account_is_registered_for_apt
with assert_account_is_registered_for_supra
everywhere in the code base and address it in a separate PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see #90
aptos-move/framework/supra-framework/sources/vesting_without_staking.move
Outdated
Show resolved
Hide resolved
aptos-move/framework/cached-packages/src/aptos_framework_sdk_builder.rs
Outdated
Show resolved
Hide resolved
aptos-move/framework/supra-framework/sources/vesting_without_staking.move
Outdated
Show resolved
Hide resolved
aptos-move/framework/supra-framework/sources/vesting_without_staking.move
Outdated
Show resolved
Hide resolved
aptos-move/framework/supra-framework/sources/vesting_without_staking.move
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a couple of tests that calls create_vesting_contract_with_amounts
and check/validate that schedule as well as amounts corresponding to shareholders are appropriately populated.
No description provided.