Skip to content

Agree on how to represent Liquid Newton contract public API #258

@szemate

Description

@szemate

For Autonity 0.15 the Liquid Newton contract has been reworked the following way:

  • Each validator has a "Liquid State" contract that stores the state of their Liquid Newton token,
  • but the actual token methods are implemented by a single "Liquid Logic" contract that each Liquid State contract delegates calls to, in order to make contract upgrades easier;
  • consequence: contract API users interact with Liquid State contracts, however the actual contract interface is defined by the Liquid Logic contract.

My questions are the following:

  • Shall we hide the above complexity from API users, and present it as if it was a single token contract?
  • If so, how should we refer to the contract interface? "Liquid Storage" or "Liquid Newton" or just "Liquid"? We should use the naming consistently around Autonity docs, autonity.py and autonity-cli.

@cmjc @aiman

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesttriageNeeds prioritisation and/or scheduling

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions