// Copyright 2017-2021 @polkadot/api-contract authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ApiRx } from '@polkadot/api'; import type { AnyJson } from '@polkadot/types/types'; import { decorateMethodRx } from '@polkadot/api'; import { Abi } from '../Abi'; import { Code as BaseCode } from '../base'; export class Code extends BaseCode<'rxjs'> { constructor (api: ApiRx, abi: AnyJson | Abi, wasm: Uint8Array | string | Buffer | null | undefined) { super(api, abi, wasm, decorateMethodRx); } }