mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-09-08 00:44:06 +00:00
Handle BigNumber event params and customize Decimal (#63)
* Handle BigNumber event params in watchers * Customize decimal according to limits of IEEE-754 decimal128 * Add definition for custom scalar BigDecimal
This commit is contained in:
@@ -18,6 +18,7 @@ type Author @entity {
|
||||
name: String! # string
|
||||
rating: BigDecimal!
|
||||
paramInt: Int! # uint8
|
||||
paramBigInt: BigInt! # uint256
|
||||
paramBytes: Bytes!
|
||||
blogs: [Blog!]! @derivedFrom(field: "author")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user