autonity / aut

A command-line RPC client for Autonity
MIT License
11 stars 10 forks source link

Add command to call CDP position status (cdps) #133

Closed cmjc closed 7 months ago

cmjc commented 7 months ago

CDP's can be viewed and itneracted with using the https://docs.autonity.org/reference/api/asm/stabilization/ interface.

A CDP's current position status can be viewed by calling the cdps variable which is defined as a public variable and so a public getter method is defined for it when the contract is compiled.

It would be nice to have an explicit function call to return a CDP's position status. This would be easier than having to do an aut contract call command specifying the contract's ABI.

aiman commented 7 months ago

Closed in favor of more general #134

cmjc commented 7 months ago

OK.