Logo
Explore Help
Sign In
logos-storage/nim-ethers
1
0
Fork 0
You've already forked nim-ethers
mirror of https://github.com/logos-storage/nim-ethers.git synced 2026-01-07 08:03:12 +00:00
Code Issues Packages Projects Releases Wiki Activity
nim-ethers/ethers/contracts/overrides.nim

14 lines
325 B
Nim
Raw Normal View History

Split contract module into several parts
2025-04-08 17:19:25 +02:00
import ../basics
import ../blocktag
type
TransactionOverrides* = ref object of RootObj
nonce*: ?UInt256
chainId*: ?UInt256
gasPrice*: ?UInt256
chore: add EIP-1559 implementation for gas price (#113) * Add EIP-1559 implementation for gas price * Improve logs * Improve comment * Rename maxFee and maxPriorityFee to use official EIP-1559 names * Delete gas price when using EIP-1559 * Allow override maxFeePerGas * Code style * Remove useless specific EIP1559 test because Hardhart support it so all transactions are using EIP1559 by default * Restore test to check legacy transaction * Update after rebase * Call eth_maxPriorityFeePerGas and returns a manual defined maxPriorityFeePerGas as a fallback * Catch JsonRpcProviderError instead of ProviderError * Improve readability * Set none value for maxFeePerGas in case of non EIP-1559 transaction * Assign none to maxPriorityFeePerGas for non EIP-1559 transaction to avoid potential side effect in wallet signing * Remove upper bound version for stew and update contractabi
2025-05-28 16:14:01 +02:00
maxFeePerGas*: ?UInt256
maxPriorityFeePerGas*: ?UInt256
Split contract module into several parts
2025-04-08 17:19:25 +02:00
gasLimit*: ?UInt256
CallOverrides* = ref object of TransactionOverrides
blockTag*: ?BlockTag
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.0 Page: 34ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API