UNPKG

lotus-sdk

Version:

Central repository for several classes of tools for integrating with, and building for, the Lotusia ecosystem

250 lines 8.51 kB
export interface OpcodeData { num: number; } export declare class Opcode { readonly num: number; constructor(num: number | string); static fromBuffer(buf: Buffer): Opcode; toBuffer(): Buffer; toString(): string; static readonly OP_0 = 0; static readonly OP_FALSE = 0; static readonly OP_PUSHDATA1 = 76; static readonly OP_PUSHDATA2 = 77; static readonly OP_PUSHDATA4 = 78; static readonly OP_1NEGATE = 79; static readonly OP_RESERVED = 80; static readonly OP_1 = 81; static readonly OP_TRUE = 81; static readonly OP_2 = 82; static readonly OP_3 = 83; static readonly OP_4 = 84; static readonly OP_5 = 85; static readonly OP_6 = 86; static readonly OP_7 = 87; static readonly OP_8 = 88; static readonly OP_9 = 89; static readonly OP_10 = 90; static readonly OP_11 = 91; static readonly OP_12 = 92; static readonly OP_13 = 93; static readonly OP_14 = 94; static readonly OP_15 = 95; static readonly OP_16 = 96; static readonly OP_NOP = 97; static readonly OP_SCRIPTTYPE = 98; static readonly OP_VER = 98; static readonly OP_IF = 99; static readonly OP_NOTIF = 100; static readonly OP_VERIF = 101; static readonly OP_VERNOTIF = 102; static readonly OP_ELSE = 103; static readonly OP_ENDIF = 104; static readonly OP_VERIFY = 105; static readonly OP_RETURN = 106; static readonly OP_TOALTSTACK = 107; static readonly OP_FROMALTSTACK = 108; static readonly OP_2DROP = 109; static readonly OP_2DUP = 110; static readonly OP_3DUP = 111; static readonly OP_2OVER = 112; static readonly OP_2ROT = 113; static readonly OP_2SWAP = 114; static readonly OP_IFDUP = 115; static readonly OP_DEPTH = 116; static readonly OP_DROP = 117; static readonly OP_DUP = 118; static readonly OP_NIP = 119; static readonly OP_OVER = 120; static readonly OP_PICK = 121; static readonly OP_ROLL = 122; static readonly OP_ROT = 123; static readonly OP_SWAP = 124; static readonly OP_TUCK = 125; static readonly OP_CAT = 126; static readonly OP_SPLIT = 127; static readonly OP_NUM2BIN = 128; static readonly OP_BIN2NUM = 129; static readonly OP_SIZE = 130; static readonly OP_INVERT = 131; static readonly OP_AND = 132; static readonly OP_OR = 133; static readonly OP_XOR = 134; static readonly OP_EQUAL = 135; static readonly OP_EQUALVERIFY = 136; static readonly OP_RESERVED1 = 137; static readonly OP_RESERVED2 = 138; static readonly OP_1ADD = 139; static readonly OP_1SUB = 140; static readonly OP_2MUL = 141; static readonly OP_2DIV = 142; static readonly OP_NEGATE = 143; static readonly OP_ABS = 144; static readonly OP_NOT = 145; static readonly OP_0NOTEQUAL = 146; static readonly OP_ADD = 147; static readonly OP_SUB = 148; static readonly OP_MUL = 149; static readonly OP_DIV = 150; static readonly OP_MOD = 151; static readonly OP_LSHIFT = 152; static readonly OP_RSHIFT = 153; static readonly OP_BOOLAND = 154; static readonly OP_BOOLOR = 155; static readonly OP_NUMEQUAL = 156; static readonly OP_NUMEQUALVERIFY = 157; static readonly OP_NUMNOTEQUAL = 158; static readonly OP_LESSTHAN = 159; static readonly OP_GREATERTHAN = 160; static readonly OP_LESSTHANOREQUAL = 161; static readonly OP_GREATERTHANOREQUAL = 162; static readonly OP_MIN = 163; static readonly OP_MAX = 164; static readonly OP_WITHIN = 165; static readonly OP_RIPEMD160 = 166; static readonly OP_SHA1 = 167; static readonly OP_SHA256 = 168; static readonly OP_HASH160 = 169; static readonly OP_HASH256 = 170; static readonly OP_CODESEPARATOR = 171; static readonly OP_CHECKSIG = 172; static readonly OP_CHECKSIGVERIFY = 173; static readonly OP_CHECKMULTISIG = 174; static readonly OP_CHECKMULTISIGVERIFY = 175; static readonly OP_NOP1 = 176; static readonly OP_CHECKLOCKTIMEVERIFY = 177; static readonly OP_NOP2 = 177; static readonly OP_CHECKSEQUENCEVERIFY = 178; static readonly OP_NOP3 = 178; static readonly OP_NOP4 = 179; static readonly OP_NOP5 = 180; static readonly OP_NOP6 = 181; static readonly OP_NOP7 = 182; static readonly OP_NOP8 = 183; static readonly OP_NOP9 = 184; static readonly OP_NOP10 = 185; static readonly OP_CHECKDATASIG = 186; static readonly OP_CHECKDATASIGVERIFY = 187; static readonly OP_REVERSEBYTES = 188; static readonly map: { readonly OP_0: 0; readonly OP_FALSE: 0; readonly OP_PUSHDATA1: 76; readonly OP_PUSHDATA2: 77; readonly OP_PUSHDATA4: 78; readonly OP_1NEGATE: 79; readonly OP_RESERVED: 80; readonly OP_1: 81; readonly OP_TRUE: 81; readonly OP_2: 82; readonly OP_3: 83; readonly OP_4: 84; readonly OP_5: 85; readonly OP_6: 86; readonly OP_7: 87; readonly OP_8: 88; readonly OP_9: 89; readonly OP_10: 90; readonly OP_11: 91; readonly OP_12: 92; readonly OP_13: 93; readonly OP_14: 94; readonly OP_15: 95; readonly OP_16: 96; readonly OP_NOP: 97; readonly OP_SCRIPTTYPE: 98; readonly OP_IF: 99; readonly OP_NOTIF: 100; readonly OP_VERIF: 101; readonly OP_VERNOTIF: 102; readonly OP_ELSE: 103; readonly OP_ENDIF: 104; readonly OP_VERIFY: 105; readonly OP_RETURN: 106; readonly OP_TOALTSTACK: 107; readonly OP_FROMALTSTACK: 108; readonly OP_2DROP: 109; readonly OP_2DUP: 110; readonly OP_3DUP: 111; readonly OP_2OVER: 112; readonly OP_2ROT: 113; readonly OP_2SWAP: 114; readonly OP_IFDUP: 115; readonly OP_DEPTH: 116; readonly OP_DROP: 117; readonly OP_DUP: 118; readonly OP_NIP: 119; readonly OP_OVER: 120; readonly OP_PICK: 121; readonly OP_ROLL: 122; readonly OP_ROT: 123; readonly OP_SWAP: 124; readonly OP_TUCK: 125; readonly OP_CAT: 126; readonly OP_SPLIT: 127; readonly OP_NUM2BIN: 128; readonly OP_BIN2NUM: 129; readonly OP_SIZE: 130; readonly OP_INVERT: 131; readonly OP_AND: 132; readonly OP_OR: 133; readonly OP_XOR: 134; readonly OP_EQUAL: 135; readonly OP_EQUALVERIFY: 136; readonly OP_RESERVED1: 137; readonly OP_RESERVED2: 138; readonly OP_1ADD: 139; readonly OP_1SUB: 140; readonly OP_2MUL: 141; readonly OP_2DIV: 142; readonly OP_NEGATE: 143; readonly OP_ABS: 144; readonly OP_NOT: 145; readonly OP_0NOTEQUAL: 146; readonly OP_ADD: 147; readonly OP_SUB: 148; readonly OP_MUL: 149; readonly OP_DIV: 150; readonly OP_MOD: 151; readonly OP_LSHIFT: 152; readonly OP_RSHIFT: 153; readonly OP_BOOLAND: 154; readonly OP_BOOLOR: 155; readonly OP_NUMEQUAL: 156; readonly OP_NUMEQUALVERIFY: 157; readonly OP_NUMNOTEQUAL: 158; readonly OP_LESSTHAN: 159; readonly OP_GREATERTHAN: 160; readonly OP_LESSTHANOREQUAL: 161; readonly OP_GREATERTHANOREQUAL: 162; readonly OP_MIN: 163; readonly OP_MAX: 164; readonly OP_WITHIN: 165; readonly OP_RIPEMD160: 166; readonly OP_SHA1: 167; readonly OP_SHA256: 168; readonly OP_HASH160: 169; readonly OP_HASH256: 170; readonly OP_CODESEPARATOR: 171; readonly OP_CHECKSIG: 172; readonly OP_CHECKSIGVERIFY: 173; readonly OP_CHECKMULTISIG: 174; readonly OP_CHECKMULTISIGVERIFY: 175; readonly OP_NOP1: 176; readonly OP_CHECKLOCKTIMEVERIFY: 177; readonly OP_NOP2: 177; readonly OP_CHECKSEQUENCEVERIFY: 178; readonly OP_NOP3: 178; readonly OP_NOP4: 179; readonly OP_NOP5: 180; readonly OP_NOP6: 181; readonly OP_NOP7: 182; readonly OP_NOP8: 183; readonly OP_NOP9: 184; readonly OP_NOP10: 185; readonly OP_CHECKDATASIG: 186; readonly OP_CHECKDATASIGVERIFY: 187; readonly OP_REVERSEBYTES: 188; }; } //# sourceMappingURL=opcode.d.ts.map