2021-06-07 13:43:31 +03:00
|
|
|
// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
|
|
|
2021-06-09 17:39:13 +03:00
|
|
|
import { ethereum, JSONValue, TypedMap, Entity, Bytes, Address, BigInt } from '@graphprotocol/graph-ts';
|
2021-06-07 13:43:31 +03:00
|
|
|
|
|
|
|
export class Echo extends ethereum.Event {
|
|
|
|
get params(): Echo__Params {
|
|
|
|
return new Echo__Params(this);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export class Echo__Params {
|
|
|
|
_event: Echo;
|
|
|
|
|
|
|
|
constructor(event: Echo) {
|
|
|
|
this._event = event;
|
|
|
|
}
|
|
|
|
|
|
|
|
get who(): Address {
|
|
|
|
return this._event.parameters[0].value.toAddress();
|
|
|
|
}
|
|
|
|
|
|
|
|
get data(): Bytes {
|
|
|
|
return this._event.parameters[1].value.toBytes();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export class Echoer extends ethereum.SmartContract {
|
|
|
|
static bind(address: Address): Echoer {
|
2021-06-09 17:39:13 +03:00
|
|
|
return new Echoer('Echoer', address);
|
2021-06-07 13:43:31 +03:00
|
|
|
}
|
|
|
|
}
|