Nice!
How would the IN_OUT opcode change if one decided to go with 64-bit ScriptNum type encoding instead of the LE variant?
I guess not a large change since you would just pushed a ScriptNum encoded integer on the stack instead?
CScriptNum bn(fundingAmount);
stack.push_back(bn.getvch());