mirror of
https://github.com/logos-storage/nim-ethers.git
synced 2026-01-05 23:23:08 +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]
|
data*: seq[byte]
|
||||||
logIndex*: UInt256
|
logIndex*: UInt256
|
||||||
removed*: bool
|
removed*: bool
|
||||||
|
address*: Address
|
||||||
topics*: seq[Topic]
|
topics*: seq[Topic]
|
||||||
TransactionHash* = array[32, byte]
|
TransactionHash* = array[32, byte]
|
||||||
BlockHash* = array[32, byte]
|
BlockHash* = array[32, byte]
|
||||||
@ -64,6 +65,7 @@ type
|
|||||||
timestamp*: UInt256
|
timestamp*: UInt256
|
||||||
hash*: ?BlockHash
|
hash*: ?BlockHash
|
||||||
baseFeePerGas* : ?UInt256
|
baseFeePerGas* : ?UInt256
|
||||||
|
logsBloom*: ?StUint[2048]
|
||||||
PastTransaction* {.serialize.} = object
|
PastTransaction* {.serialize.} = object
|
||||||
blockHash*: BlockHash
|
blockHash*: BlockHash
|
||||||
blockNumber*: UInt256
|
blockNumber*: UInt256
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user