Market owner can de-authenticate specific properties.

Open
#61 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale

Research direction

Start by locating the onlyLinkedPropertyAuthor modifier and the market deauthentication function mentioned in the issue. Add or update tests for market-owner and property-author authorization, then verify that deauthenticated properties cannot be staked or rewarded but can have staking canceled.

Written by the indexing model from the issue text.

Description

References

不正なクリエイターの上場廃止機能(Ability to delist rogue creators.)

Sentence Summary

This problem solves the problem of not being able to unauthenticate with the market except for the property author.

Paragraph Summary

This DIP proposes a feature that allows the market owner to freely deauthenticate the property.

Component Summary

Modify the onlyLinkedPropertyAuthor modifier.
Currently, an error occurs unless the sender is an author of the property.
This will be changed so that the error will not occur if the "sender is the author of the property or the owner of the market".

Motivation

There have been cases where development repositories have been deleted or made private. We provide this feature to deal with this.

Specification

Proposed Code

I'll implement it now.

Test Cases

・Only the market owner and the property's author have the authority to execute the market deauthentication function.
・Check that the following conditions are met for the deauthenticated property.
 ・Staking cannot be performed.
 ・Staking can be canceled.
 ・Creator reward and staking reward cannot be obtained.

Security Considerations

Make sure that only the owner and the author of the property to be deauthorized are authorized to execute the Market deauthorization function.
(Author-based deauthentication has already been implemented.)

Copyright

Copyright and related rights waived via CC0.

Dominant language
No language data
Stars
11
Forks
7
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dev-protocol/DIPs

All issues in dev-protocol/DIPs

Similar issues

More Security issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.