Skip to content

Commit

Permalink
GetRequiredMaintenanceMargin
Browse files Browse the repository at this point in the history
  • Loading branch information
Pashteto committed Nov 21, 2023
1 parent c2d9f0e commit 144cf31
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions perpsv3.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ type IPerpsv3 interface {
// GetAccountOwner is used to get accounts owner address for given account ID
GetAccountOwner(accountId *big.Int) (string, error)

// GetRequiredMaintenanceMargin is used to get required maintenance margin for given account ID
GetRequiredMaintenanceMargin(accountId *big.Int) (*big.Int, error)

// FormatAccount is used to get account, and it's additional data from the contract by given account id
FormatAccount(id *big.Int) (*models.Account, error)

Expand Down

0 comments on commit 144cf31

Please sign in to comment.