the amount of gMRX to add
the minimum amount of LP tokens to receive as wei
allow high slippage that can result in trading fees
the amount of MRX to send with the transaction and add as MRX
the optional limit for gas units that can be consumed
an array of TransactionReceipt objects
Add liquidity to the pool
the amount of wMRX to add as satoshi
the amount of gMRX to add as satoshi
the minimum amount of LP tokens to receive as wei
allow high slippage that can result in trading fees
the optional limit for gas units that can be consumed
an array of TransactionReceipt objects
Burn gMRX releasing wMRX or MRX
amount of gMRX to burn as satoshi
the minimum amount of MRX or wMRX to receive as satoshi
unwrap the wMRX to MRX
the optional limit for gas units that can be consumed
an array of TransactionReceipt objects
Remove liquidity for the underlying wMRX/MRX and gMRX
amount of LP to remove
unwrap the wMRX to MRX
the optional limit for gas units that can be consumed
an array of TransactionReceipt objects
Perform sendtocontract
The contract method to send to
The arguments to use
Optional
value: stringThe amount to send to the contract
Optional
gasLimit: numberThe amount of gas units allowed
Optional
gasPrice: numberThe satoshi price per gas
see Result
Swap between gMRX and wMRX
the amount of tokens to input as satoshi
the input token
the output token
the minimum amount of tokens to receive as satoshi
the allowed amount of slippage as basis points
unwrap the wMRX to MRX
the optional limit for gas units that can be consumed
an array of TransactionReceipt objects
Get a swap quote based on the current reserves in the pool
token to input
token to output
input amount of tokens
the price quote in satoshi and the slippage as basis points
Swap MRX for gMRX, sending MRX and automatically wrapping it
the minimum amount of gMRX tokens to receive as satoshi
the allowed amount of slippage as basis points
amount of MRX to send with the transaction
the optional limit for gas units that can be consumed
an array of TransactionReceipt objects
Add liquidity to the pool