onflow / linked-accounts

The Unlicense
11 stars 3 forks source link

Finalize contract & construct names #6

Closed sisyphusSmiling closed 1 year ago

sisyphusSmiling commented 1 year ago

Issue To Be Solved

The current verbiage for the ChildAccount contract and defined resources isn't great and can be improved from a descriptive as well as product perspective. This will also involve updating the contract, resources and Capabilities named in transactions & scripts.

Suggest A Solution

Below is the suggested new terminology from current to final state. If you have other suggestions, please comment in this issue.

ChildAccount -> LinkedAccounts ChildAccountManager -> LinkedAccountAdministrator ChildAccountController -> LinkedAccountOwner ChildAccountTag -> LinkedAccountHandler ChildAccountInfo -> LinkedAccountInfo

Also note that we'll likely change ChildAccountInfo from a struct implementation to a struct interface, allowing others to define metadata more specific to their use case.

sisyphusSmiling commented 1 year ago

Closed in #10