mirror of
https://github.com/tornadocash/tornado-subgraph.git
synced 2024-12-23 09:51:18 +01:00
40 lines
779 B
TypeScript
40 lines
779 B
TypeScript
// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
|
|
import {
|
|
ethereum,
|
|
JSONValue,
|
|
TypedMap,
|
|
Entity,
|
|
Bytes,
|
|
Address,
|
|
BigInt
|
|
} from "@graphprotocol/graph-ts";
|
|
|
|
export class EncryptedNote extends ethereum.Event {
|
|
get params(): EncryptedNote__Params {
|
|
return new EncryptedNote__Params(this);
|
|
}
|
|
}
|
|
|
|
export class EncryptedNote__Params {
|
|
_event: EncryptedNote;
|
|
|
|
constructor(event: EncryptedNote) {
|
|
this._event = event;
|
|
}
|
|
|
|
get sender(): Address {
|
|
return this._event.parameters[0].value.toAddress();
|
|
}
|
|
|
|
get encryptedNote(): Bytes {
|
|
return this._event.parameters[1].value.toBytes();
|
|
}
|
|
}
|
|
|
|
export class Proxy extends ethereum.SmartContract {
|
|
static bind(address: Address): Proxy {
|
|
return new Proxy("Proxy", address);
|
|
}
|
|
}
|