mirror of
https://github.com/logos-storage/nim-ethers.git
synced 2026-01-02 13:43:06 +00:00
chore!(provider): update Log and Block types
This commit is contained in:
parent
3b0f94f2b5
commit
b5377d5874
@ -31,6 +31,7 @@ type
|
||||
data*: seq[byte]
|
||||
logIndex*: UInt256
|
||||
removed*: bool
|
||||
address*: Address
|
||||
topics*: seq[Topic]
|
||||
TransactionHash* = array[32, byte]
|
||||
BlockHash* = array[32, byte]
|
||||
@ -64,6 +65,7 @@ type
|
||||
timestamp*: UInt256
|
||||
hash*: ?BlockHash
|
||||
baseFeePerGas* : ?UInt256
|
||||
logsBloom*: ?StUint[2048]
|
||||
PastTransaction* {.serialize.} = object
|
||||
blockHash*: BlockHash
|
||||
blockNumber*: UInt256
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user