Add README.md and LICENSE.md
This commit is contained in:
@@ -30,7 +30,6 @@ export abstract class RJSVM_Builder {
|
||||
public readonly config: RJSVM_Config
|
||||
) {
|
||||
super()
|
||||
|
||||
|
||||
if(!XRP_ADDRESS.test(this.owner)){
|
||||
const err = new Error(`Inavlid owner address ${this.owner}`)
|
||||
@@ -38,7 +37,6 @@ export abstract class RJSVM_Builder {
|
||||
throw err
|
||||
}
|
||||
|
||||
|
||||
this.definitions = Object.freeze(defs)
|
||||
Object.entries(this.definitions).forEach(([k, v]) => {
|
||||
this[k] = (env: PaymentTx_T, ...args: any) => (v.implementation as ParameterizedFunction).apply(this as any, [env, ...args])
|
||||
@@ -87,6 +85,7 @@ export abstract class RJSVM_Builder {
|
||||
}
|
||||
|
||||
this.subscribers = {}
|
||||
this.onceSubscribers = {}
|
||||
}
|
||||
|
||||
public on = (event: string, handler: ParameterizedFunction) => {
|
||||
|
||||
Reference in New Issue
Block a user