-
Notifications
You must be signed in to change notification settings - Fork 277
Description
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.