Configuration for MarginPoolContract
The key to identify the pool
The supplier cap object
The amount to deposit
OptionalreferralId: stringThe ID of the referral
A function that takes a Transaction object
The key to identify the pool
The supplier cap object
OptionalamountToWithdraw: numberThe amount to withdraw. If omitted, withdraws all.
A function that takes a Transaction object
MarginPoolContract class for managing MarginPool operations.