OP_4ROLL The 4 items n back in the stack are moved to the top.
()
| 22 | /// OP_4ROLL |
| 23 | /// The 4 items n back in the stack are moved to the top. |
| 24 | pub fn OP_4ROLL() -> Script { |
| 25 | script! { |
| 26 | 4 OP_ADD |
| 27 | OP_DUP OP_ROLL OP_SWAP |
| 28 | OP_DUP OP_ROLL OP_SWAP |
| 29 | OP_DUP OP_ROLL OP_SWAP |
| 30 | OP_1SUB OP_ROLL |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | /// Duplicates the top 4 items |
| 35 | pub fn OP_4DUP() -> Script { |
nothing calls this directly
no outgoing calls
no test coverage detected