3 import CommonBase from './CommonBase';
4 import * as bindings from '../bindings' // TODO: figure out location
8 export default class InvalidShutdownScript extends CommonBase {
9 constructor(_dummy: object, ptr: number) {
14 protected finalize() {
18 bindings.InvalidShutdownScript_free(this.ptr);
21 public Uint8Array get_script() {
22 Uint8Array ret = bindings.InvalidShutdownScript_get_script(this.ptr);
26 public void set_script(Uint8Array val) {
27 bindings.InvalidShutdownScript_set_script(this.ptr, val);
30 public static InvalidShutdownScript constructor_new(Uint8Array script_arg) {
31 number ret = bindings.InvalidShutdownScript_new(script_arg);
32 const ret_hu_conv: InvalidShutdownScript = new InvalidShutdownScript(null, ret);
33 ret_hu_conv.ptrs_to.add(ret_hu_conv);
37 public InvalidShutdownScript clone() {
38 number ret = bindings.InvalidShutdownScript_clone(this.ptr);
39 const ret_hu_conv: InvalidShutdownScript = new InvalidShutdownScript(null, ret);
40 ret_hu_conv.ptrs_to.add(this);