Add Operator getter for backwards compatibility
This commit is contained in:
1 parent
c568263fea
commit
3662f1ae24
1 file changed
+4
@@ -81,6 +81,10 @@ class Kredits {
|
||||
return this.contractFor('Proposal');
|
||||
}
|
||||
|
||||
get Operator() {
|
||||
return this.Proposal();
|
||||
}
|
||||
|
||||
get Token() {
|
||||
return this.contractFor('Token');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user