2021-06-07 13:43:31 +03:00
|
|
|
type Deposit @entity {
|
|
|
|
id: ID!
|
2022-03-12 19:43:38 +03:00
|
|
|
from: Bytes!
|
2021-06-07 13:43:31 +03:00
|
|
|
index: BigInt!
|
|
|
|
amount: String!
|
|
|
|
currency: String!
|
|
|
|
commitment: Bytes!
|
|
|
|
timestamp: BigInt!
|
|
|
|
blockNumber: BigInt!
|
|
|
|
transactionHash: Bytes!
|
|
|
|
}
|
|
|
|
|
|
|
|
type Withdrawal @entity {
|
|
|
|
id: ID!
|
|
|
|
to: Bytes!
|
|
|
|
fee: BigInt!
|
|
|
|
index: BigInt!
|
|
|
|
amount: String!
|
|
|
|
currency: String!
|
|
|
|
nullifier: Bytes!
|
|
|
|
timestamp: BigInt!
|
|
|
|
blockNumber: BigInt!
|
|
|
|
transactionHash: Bytes!
|
|
|
|
}
|
|
|
|
|
|
|
|
type EncryptedNote @entity {
|
|
|
|
id: ID!
|
|
|
|
index: BigInt!
|
|
|
|
blockNumber: BigInt!
|
|
|
|
encryptedNote: Bytes!
|
|
|
|
transactionHash: Bytes!
|
|
|
|
}
|
|
|
|
|
|
|
|
type NoteAccount @entity {
|
|
|
|
id: ID!
|
|
|
|
index: BigInt!
|
2024-04-04 22:27:42 +03:00
|
|
|
blockNumber: BigInt!
|
2021-06-07 13:43:31 +03:00
|
|
|
address: Bytes!
|
|
|
|
encryptedAccount: Bytes!
|
|
|
|
}
|