total_fee : TWO^256 |- TWO^64 */
| 509 | |
| 510 | /* total_fee : TWO^256 |- TWO^64 */ |
| 511 | bool simplicity_total_fee(frameItem* dst, frameItem src, const txEnv* env) { |
| 512 | sha256_midstate assetid; |
| 513 | readHash(&assetid, &src); |
| 514 | simplicity_write64(dst, lookup_fee(&assetid, env->tx->feeOutputs, env->tx->numFees)); |
| 515 | return true; |
| 516 | } |
| 517 | |
| 518 | /* genesis_block_hash : ONE |- TWO^256 */ |
| 519 | bool simplicity_genesis_block_hash(frameItem* dst, frameItem src, const txEnv* env) { |
nothing calls this directly
no test coverage detected