1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00
squid-js/src/ocean/OceanBase.ts

19 lines
256 B
TypeScript
Raw Normal View History

2018-10-16 14:56:18 +02:00
export default abstract class OceanBase {
2018-10-09 10:55:53 +02:00
2018-10-16 14:56:18 +02:00
protected id = "0x00"
2018-10-09 10:55:53 +02:00
2018-10-16 14:56:18 +02:00
constructor(id?) {
if (id) {
this.id = id
}
}
public getId() {
return this.id
}
2018-10-09 10:55:53 +02:00
2018-10-16 14:56:18 +02:00
public setId(id) {
this.id = id
2018-10-09 10:55:53 +02:00
}
2018-10-09 15:24:36 +02:00
}