MCPcopy Create free account
hub / github.com/BitVM/BitVM / OP_4TOALTSTACK

Function OP_4TOALTSTACK

bitvm/src/pseudo.rs:57–61  ·  view source on GitHub ↗

Puts the top 4 items onto the top of the alt stack. Removes them from the main stack.

()

Source from the content-addressed store, hash-verified

55
56/// Puts the top 4 items onto the top of the alt stack. Removes them from the main stack.
57pub fn OP_4TOALTSTACK() -> Script {
58 script! {
59 OP_TOALTSTACK OP_TOALTSTACK OP_TOALTSTACK OP_TOALTSTACK
60 }
61}
62
63/// Puts the top 4 items from the altstack onto the top of the main stack. Removes them from the alt stack.
64pub fn OP_4FROMALTSTACK() -> Script {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected