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

Function OP_4MUL

bitvm/src/pseudo.rs:82–86  ·  view source on GitHub ↗

The top stack item is multiplied by 4

()

Source from the content-addressed store, hash-verified

80
81/// The top stack item is multiplied by 4
82pub fn OP_4MUL() -> Script {
83 script! {
84 OP_DUP OP_ADD OP_DUP OP_ADD
85 }
86}
87
88/// The top stack item is multiplied by 2**k
89pub fn op_2k_mul(k: u32) -> Script {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected