Skip to content
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

Auctions subject to winner KYC #178

Open
gregscullard opened this issue Sep 20, 2021 · 0 comments
Open

Auctions subject to winner KYC #178

gregscullard opened this issue Sep 20, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@gregscullard
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Currently, the necessity for the winner to be subject to KYC is driven by an environment variable which leads to every auction inheriting the same setting.

Describe the solution you'd like
It would be desirable to change the flow as follows
-Create the auction account before the token
-Add a kycKeysFromAccount attribute to the JSON to create a token (this can be left empty if the token isn't subject to KYC, else when the token is created, the KYC keys for the token will be set to the multi-sig key of the specified account).
-Record the KYC requirement of the token against the auction (true/false)
-If there is a KYC requirement on the token, set the token/auction account KYC to true (either using master key or scheduled transaction when support is available for grantKYC transactions)

-When the auction has completed, check the kyc setting against the auction and proceed to transfer the token to the winner if the setting is "false"
-If the setting is true, keep checking if KYC is enabled for the token/winner account
-When kyc is enabled for the token/winning account pair, perform the transfer to the winning account

-Add an admin api call to set KYC on the token/winning account, this may be performed using the master key or scheduled transaction when support is available for grantKYC transactions

Describe alternatives you've considered
The current solution works, however a manual step is required to transfer the token to the winning account when it has been determined that the account has been KYCd by the auction operators. Also, all tokens being auctioned are subject to the same KYC requirement, it's not possible to have some requiring KYC and others not which this issue would address.

@gregscullard gregscullard added the enhancement New feature or request label Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant