UNPKG

opnet

Version:

The perfect library for building Bitcoin-based applications.

18 lines (17 loc) 887 B
import { Network } from '@btc-vision/bitcoin'; import { Address } from '@btc-vision/transaction'; import { OPNetTransactionTypes } from '../../interfaces/opnet/OPNetTransactionTypes.js'; import { IDeploymentTransaction } from '../interfaces/transactions/IDeploymentTransaction.js'; import { TransactionBase } from '../Transaction.js'; export declare class DeploymentTransaction extends TransactionBase<OPNetTransactionTypes.Deployment> implements IDeploymentTransaction { readonly contractAddress?: string; readonly contractTweakedPublicKey?: Address; readonly bytecode?: Buffer; readonly wasCompressed?: boolean; readonly deployerPubKey?: Buffer; readonly deployerAddress?: Address; readonly contractSeed?: Buffer; readonly contractSaltHash?: Buffer; readonly from?: Address; constructor(transaction: IDeploymentTransaction, network: Network); }