dimxy
dimxy
This is an experimental PR to evaluate whether we can use EIP-2930 access lists. EVM access lists (added to a transaction calling a contract) may reduce gas consumption when a...
Many server apps do handling user pressed Ctrl-C on console and perform graceful shutdown (instead of just silently unloading app by default). Let's add such Ctrl-C handling support for MM2...
For swaps MM2 maintains trade fee variable calculated both for the taker and maker. It indicates tx fee to spend on swap payment and refund transactions (see maker_payment_trade_fee and taker_payment_trade_fee...
Proposal of refactoring of code for utxo tx signature creation. **History of the problem** Historically, signing code started with simple signing of 'iguana' private key policy (single key). Later code...
This PR adds: - initial code to connect to 1inch Liquidity Routing API (LRAPI) provider (see new trading_api crate) - two new RPCs to use 1inch classic swap API -...
### Problem: Currently the main variant to convey transaction errors is TransactionErr::Plain(String). In some cases, when error needs a user reaction, passing errors in String is not convenient for the...
Initial code for liquidity routing (LR) support for KDF. The added RPC finds best (most price efficient) swap path from a list of provided ask orders, to fill them with...
Add chain_id the get_enabled_erc20_by_contract fn (as ERC20 contracts have same address in all networks)
### Problem We currently use CoinProtocol type as a error type: ``` fn try_from_coin_protocol(proto: CoinProtocol) -> Result ``` while this looks like a misconception, we also lose the error reason...
Fixes for utxo tx fee calculation in UtxoTxBuilder::build() fn: - include change output in txfee - fix min relay tx fee calc (to multiply by tx_size). UtxoTxBuilder::build() code was refactored...