Skip to content

Is UserEscrowProxy a good name? #1110

@cygnusv

Description

@cygnusv

At first sight, the name UserEscrowProxy seems to hint that this contract act as a proxy to UserEscrow (i.e. it intermediates between a client and UserEscrow). However, it acts as a proxy for UserEscrow to several staker-related functionalities of various contracts, namely, NuCypherToken, StakingEscrow and PolicyManager, so its name can be somewhat misleading.

What is more, UserEscrow is, hopefully, just the first of many types of contracts acting as stakers in the NuCypher network (see the term PuppetStaker in #1057). So, from that viewpoint, the current name UserEscrowProxy is clearly unambitious.

In light of both reasons, what's a good name for UserEscrowProxy? I was thinking something like StakingProxy, but perhaps there's something better out there.

Bonus question: What's a good name for UserEscrowLibraryLinker? As a reminder, this contract simply acts as a pointer to the incumbent UserEscrowProxy. My suggestion would be something like StakingProxyPointer or StakingProxyRegistry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Naming stuffThe hardest part about code authorshipquestionThis is a question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions