@muirglacier/jellyfish-transaction
Version:
A collection of TypeScript + JavaScript tools and libraries for DeFi Blockchain developers to build decentralized finance for Bitcoin
116 lines • 2.6 kB
TypeScript
import { StaticCode } from './opcode';
/**
* Puts the input onto the top of the alt stack. Removes it from the main stack.
*/
export declare class OP_TOALTSTACK extends StaticCode {
constructor();
}
/**
* Puts the input onto the top of the main stack. Removes it from the alt stack.
*/
export declare class OP_FROMALTSTACK extends StaticCode {
constructor();
}
/**
* Removes the top two stack items.
*/
export declare class OP_2DROP extends StaticCode {
constructor();
}
/**
* Duplicates the top two stack items.
*/
export declare class OP_2DUP extends StaticCode {
constructor();
}
/**
* Duplicates the top three stack items.
*/
export declare class OP_3DUP extends StaticCode {
constructor();
}
/**
* Copies the pair of items two spaces back in the stack to the front.
*/
export declare class OP_2OVER extends StaticCode {
constructor();
}
/**
* The fifth and sixth items back are moved to the top of the stack.
*/
export declare class OP_2ROT extends StaticCode {
constructor();
}
/**
* Swaps the top two pairs of items.
*/
export declare class OP_2SWAP extends StaticCode {
constructor();
}
/**
* If the top stack value is not 0, duplicate it.
*/
export declare class OP_IFDUP extends StaticCode {
constructor();
}
/**
* Puts the number of stack items onto the stack.
*/
export declare class OP_DEPTH extends StaticCode {
constructor();
}
/**
* Removes the top stack item.
*/
export declare class OP_DROP extends StaticCode {
constructor();
}
/**
* Duplicates the top stack item.
*/
export declare class OP_DUP extends StaticCode {
constructor();
}
/**
* Removes the second-to-top stack item.
*/
export declare class OP_NIP extends StaticCode {
constructor();
}
/**
* Copies the second-to-top stack item to the top.
*/
export declare class OP_OVER extends StaticCode {
constructor();
}
/**
* The item n back in the stack is copied to the top.
*/
export declare class OP_PICK extends StaticCode {
constructor();
}
/**
* The item n back in the stack is moved to the top.
*/
export declare class OP_ROLL extends StaticCode {
constructor();
}
/**
* The 3rd item down the stack is moved to the top.
*/
export declare class OP_ROT extends StaticCode {
constructor();
}
/**
* The top two items on the stack are swapped.
*/
export declare class OP_SWAP extends StaticCode {
constructor();
}
/**
* The item at the top of the stack is copied and inserted before the second-to-top item.
*/
export declare class OP_TUCK extends StaticCode {
constructor();
}
//# sourceMappingURL=stack.d.ts.map