Module Import alias Import alias Import alias Import alias Import alias Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Num Str Str Num TupleLoad Num Str NameLoad Num TupleLoad Num Str NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpMult Str Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpMult Str Num Num Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num ListLoad Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Num Str Str Num TupleLoad Num Str NameLoad Num TupleLoad Num Str NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Num Str Str Num TupleLoad Num Str NameLoad Num TupleLoad Num Str NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpMult Str Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpMult Str Num Num Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Num Str Str Num TupleLoad Num Str NameLoad Num TupleLoad Num Str NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpMult Str Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpMult Str Num Num Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Num Str NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpMult Str Num Num Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Num Str Str Num TupleLoad Num Str NameLoad Num TupleLoad Num Str NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Num Str NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Num Str NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str BinOpSub BinOpSub Num Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Num Str Str Num TupleLoad Num Str NameLoad Num TupleLoad Num Str Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Str Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpMult Str Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpMult Str Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpMult Str Num Num Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num ListLoad Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Num Str Str Num TupleLoad Num Str NameLoad Num TupleLoad Num Str Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Str Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpMult Str Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpMult Str Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpMult Str Num Num Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num ListLoad Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Num Str Str Num TupleLoad Num Str NameLoad Num TupleLoad Num Str NameLoad Num TupleLoad Num Str Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Num Str NameLoad Num TupleLoad Num Str NameLoad Num TupleLoad Num Str Str Num TupleLoad Num Str Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Slice Num Num Str Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Slice Num Num Str Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpMult Str Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpMult Str Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpMult Str Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpMult Str Num Num Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num ListLoad Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Num Str Str Num TupleLoad Num Str Str Num TupleLoad Num Str NameLoad Num TupleLoad Num Str Str Num TupleLoad Num Str NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Slice Num Num Str Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Slice Num Num Str Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Str NameLoad Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpMult Str Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpMult Str Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpMult Str Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpMult Str Num Num Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num ListLoad Num Num Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Num Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult NameLoad Num NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult Str Num Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr BinOpMult Str Num AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A N/A bitcoin.core N/A bitcoin.core.script N/A openassets.protocol N/A openassets.transactions N/A unittest N/A unittest.mock TransactionBuilderTests N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self target N/A N/A N/A openassets transactions TransactionBuilder 10 N/A test_issue_asset_success N/A N/A self N/A N/A N/A outputs N/A N/A self generate_outputs N/A N/A 20 source a1 50 N/A 15 source None 0 N/A 10 source None 0 N/A spec N/A N/A N/A openassets transactions TransferParameters outputs target change 1000 N/A result N/A N/A N/A self target issue spec metadata 5 N/A N/A N/A self assertEqual 2 N/A len N/A result vin N/A N/A N/A self assert_input N/A N/A result vin N/A 0 N/A 1 32 1 source N/A N/A N/A self assert_input N/A N/A result vin N/A 1 N/A 2 32 2 source N/A N/A N/A self assertEqual 3 N/A len N/A result vout N/A N/A N/A self assert_output N/A N/A result vout N/A 0 10 target N/A N/A N/A self assert_marker N/A N/A result vout N/A 1 N/A 1000 metadata N/A N/A N/A self assert_output N/A N/A result vout N/A 2 10 change N/A test_issue_asset_insufficient_funds N/A N/A self N/A N/A N/A outputs N/A N/A self generate_outputs N/A N/A 20 source a1 50 N/A 15 source None 0 N/A 5 source None 0 N/A spec N/A N/A N/A openassets transactions TransferParameters outputs target change 1000 N/A N/A N/A self assertRaises N/A N/A openassets transactions InsufficientFundsError N/A N/A self target issue spec metadata 5 N/A test_transfer_bitcoin_with_change N/A N/A self N/A N/A N/A outputs N/A N/A self generate_outputs N/A N/A 150 source a1 50 N/A 150 source None 0 N/A 150 source None 0 N/A spec N/A N/A N/A openassets transactions TransferParameters outputs target change 200 N/A result N/A N/A N/A self target transfer_bitcoin spec 10 N/A N/A N/A self assertEqual 2 N/A len N/A result vin N/A N/A N/A self assert_input N/A N/A result vin N/A 0 N/A 1 32 1 source N/A N/A N/A self assert_input N/A N/A result vin N/A 1 N/A 2 32 2 source N/A N/A N/A self assertEqual 2 N/A len N/A result vout N/A N/A N/A self assert_output N/A N/A result vout N/A 0 90 change N/A N/A N/A self assert_output N/A N/A result vout N/A 1 200 target N/A test_transfer_bitcoin_no_change N/A N/A self N/A N/A N/A outputs N/A N/A self generate_outputs N/A N/A 150 source a1 50 N/A 60 source None 0 N/A 150 source None 0 N/A spec N/A N/A N/A openassets transactions TransferParameters outputs target change 200 N/A result N/A N/A N/A self target transfer_bitcoin spec 10 N/A N/A N/A self assertEqual 2 N/A len N/A result vin N/A N/A N/A self assert_input N/A N/A result vin N/A 0 N/A 1 32 1 source N/A N/A N/A self assert_input N/A N/A result vin N/A 1 N/A 2 32 2 source N/A N/A N/A self assertEqual 1 N/A len N/A result vout N/A N/A N/A self assert_output N/A N/A result vout N/A 0 200 target N/A test_transfer_bitcoin_dust_limit N/A N/A self N/A N/A N/A outputs N/A N/A self generate_outputs N/A N/A 25 source None 0 N/A spec N/A N/A N/A openassets transactions TransferParameters outputs target change 10 N/A result N/A N/A N/A self target transfer_bitcoin spec 5 N/A N/A N/A self assertEqual 1 N/A len N/A result vin N/A N/A N/A self assert_input N/A N/A result vin N/A 0 N/A 0 32 0 source N/A N/A N/A self assertEqual 2 N/A len N/A result vout N/A N/A N/A self assert_output N/A N/A result vout N/A 0 10 change N/A N/A N/A self assert_output N/A N/A result vout N/A 1 10 target N/A test_transfer_bitcoin_insufficient_funds N/A N/A self N/A N/A N/A outputs N/A N/A self generate_outputs N/A N/A 150 source a1 50 N/A 60 source None 0 N/A 150 source None 0 N/A spec N/A N/A N/A openassets transactions TransferParameters outputs target change 201 N/A N/A N/A self assertRaises N/A N/A openassets transactions InsufficientFundsError N/A N/A self target transfer_bitcoin spec 10 N/A test_transfer_bitcoin_dust_output N/A N/A self N/A N/A N/A outputs N/A N/A self generate_outputs N/A N/A 19 source None 0 N/A spec N/A N/A N/A openassets transactions TransferParameters outputs target change 9 N/A N/A N/A self assertRaises N/A N/A openassets transactions DustOutputError N/A N/A self target transfer_bitcoin spec 10 N/A test_transfer_bitcoin_dust_change N/A N/A self N/A N/A N/A outputs N/A N/A self generate_outputs N/A N/A 150 source None 0 N/A spec N/A N/A N/A openassets transactions TransferParameters outputs target change N/A N/A 150 10 9 N/A N/A N/A self assertRaises N/A N/A openassets transactions DustOutputError N/A N/A self target transfer_bitcoin spec 10 N/A test_transfer_assets_with_change N/A N/A self N/A N/A N/A outputs N/A N/A self generate_outputs N/A N/A 10 source a1 50 N/A 80 source None 0 N/A 20 source a1 100 N/A spec N/A N/A N/A openassets transactions TransferParameters outputs target asset_change 120 N/A result N/A N/A N/A self target transfer_assets a1 spec bitcoin_change 40 N/A N/A N/A self assertEqual 3 N/A len N/A result vin N/A N/A N/A self assert_input N/A N/A result vin N/A 0 N/A 0 32 0 source N/A N/A N/A self assert_input N/A N/A result vin N/A 1 N/A 2 32 2 source N/A N/A N/A self assert_input N/A N/A result vin N/A 2 N/A 1 32 1 source N/A N/A N/A self assertEqual 4 N/A len N/A result vout N/A N/A N/A self assert_marker N/A N/A result vout N/A 0 N/A 120 30 N/A N/A N/A self assert_output N/A N/A result vout N/A 1 10 target N/A N/A N/A self assert_output N/A N/A result vout N/A 2 10 asset_change N/A N/A N/A self assert_output N/A N/A result vout N/A 3 50 bitcoin_change N/A test_transfer_assets_no_change N/A N/A self N/A N/A N/A outputs N/A N/A self generate_outputs N/A N/A 10 source a1 50 N/A 80 source None 0 N/A 10 source a1 70 N/A spec N/A N/A N/A openassets transactions TransferParameters outputs target asset_change 120 N/A result N/A N/A N/A self target transfer_assets a1 spec bitcoin_change 40 N/A N/A N/A self assertEqual 3 N/A len N/A result vin N/A N/A N/A self assert_input N/A N/A result vin N/A 0 N/A 0 32 0 source N/A N/A N/A self assert_input N/A N/A result vin N/A 1 N/A 2 32 2 source N/A N/A N/A self assert_input N/A N/A result vin N/A 2 N/A 1 32 1 source N/A N/A N/A self assertEqual 3 N/A len N/A result vout N/A N/A N/A self assert_marker N/A N/A result vout N/A 0 N/A 120 N/A N/A N/A self assert_output N/A N/A result vout N/A 1 10 target N/A N/A N/A self assert_output N/A N/A result vout N/A 2 50 bitcoin_change N/A test_transfer_assets_insufficient_asset_quantity N/A N/A self N/A N/A N/A outputs N/A N/A self generate_outputs N/A N/A 10 source a1 50 N/A 80 source None 0 N/A 10 other None 0 N/A 10 source a1 70 N/A spec N/A N/A N/A openassets transactions TransferParameters outputs target asset_change 121 N/A N/A N/A self assertRaises N/A N/A openassets transactions InsufficientAssetQuantityError N/A N/A self target transfer_assets a1 spec bitcoin_change 40 N/A test_btc_asset_swap N/A N/A self N/A N/A N/A outputs N/A N/A self generate_outputs N/A N/A 90 source_btc None 0 N/A 100 source_btc None 0 N/A 10 source_asset a1 50 N/A 10 source_asset a1 100 N/A btc_spec N/A N/A N/A openassets transactions TransferParameters N/A outputs N/A 0 2 source_asset source_btc 160 N/A asset_spec N/A N/A N/A openassets transactions TransferParameters N/A outputs N/A 2 4 source_btc source_asset 120 N/A result N/A N/A N/A self target btc_asset_swap btc_spec a1 asset_spec 10 N/A N/A N/A self assertEqual 4 N/A len N/A result vin N/A N/A N/A self assert_input N/A N/A result vin N/A 0 N/A 2 32 2 source_asset N/A N/A N/A self assert_input N/A N/A result vin N/A 1 N/A 3 32 3 source_asset N/A N/A N/A self assert_input N/A N/A result vin N/A 2 N/A 0 32 0 source_btc N/A N/A N/A self assert_input N/A N/A result vin N/A 3 N/A 1 32 1 source_btc N/A N/A N/A self assertEqual 5 N/A len N/A result vout N/A N/A N/A self assert_marker N/A N/A result vout N/A 0 N/A 120 30 N/A N/A N/A self assert_output N/A N/A result vout N/A 1 10 source_btc N/A N/A N/A self assert_output N/A N/A result vout N/A 2 10 source_asset N/A N/A N/A self assert_output N/A N/A result vout N/A 3 20 source_btc N/A N/A N/A self assert_output N/A N/A result vout N/A 4 160 source_asset N/A test_asset_asset_swap N/A N/A self N/A N/A N/A outputs N/A N/A self generate_outputs N/A N/A 10 source_1 a1 100 N/A 10 source_1 a1 80 N/A 80 source_1 None 0 N/A 10 source_2 a2 600 N/A 100 source_2 None 0 N/A asset1_spec N/A N/A N/A openassets transactions TransferParameters N/A outputs N/A 0 3 source_2 source_1 120 N/A asset2_spec N/A N/A N/A openassets transactions TransferParameters N/A outputs N/A 3 4 source_1 source_2 260 N/A result N/A N/A N/A self target asset_asset_swap a1 asset1_spec a2 asset2_spec 20 N/A N/A N/A self assertEqual 4 N/A len N/A result vin N/A N/A N/A self assert_input N/A N/A result vin N/A 0 N/A 0 32 0 source_1 N/A N/A N/A self assert_input N/A N/A result vin N/A 1 N/A 1 32 1 source_1 N/A N/A N/A self assert_input N/A N/A result vin N/A 2 N/A 3 32 3 source_2 N/A N/A N/A self assert_input N/A N/A result vin N/A 3 N/A 2 32 2 source_1 N/A N/A N/A self assertEqual 6 N/A len N/A result vout N/A N/A N/A self assert_marker N/A N/A result vout N/A 0 N/A 120 60 260 340 N/A N/A N/A self assert_output N/A N/A result vout N/A 1 10 source_2 N/A N/A N/A self assert_output N/A N/A result vout N/A 2 10 source_1 N/A N/A N/A self assert_output N/A N/A result vout N/A 3 10 source_1 N/A N/A N/A self assert_output N/A N/A result vout N/A 4 10 source_2 N/A N/A N/A self assert_output N/A N/A result vout N/A 5 50 source_1 N/A generate_outputs N/A N/A self definitions N/A N/A N/A result N/A N/A N/A i item N/A enumerate definitions N/A N/A byte N/A bytes N/A str i encoding UTF-8 N/A N/A N/A result append N/A N/A N/A openassets transactions SpendableOutput out_point N/A N/A N/A bitcoin core COutPoint N/A byte 32 i output N/A N/A N/A openassets protocol TransactionOutput N/A item N/A 0 N/A N/A N/A N/A bitcoin core script CScript N/A item N/A 1 N/A item N/A 2 N/A item N/A 3 N/A result N/A assert_input N/A N/A self input transaction_hash output_index script N/A N/A N/A N/A N/A self assertEqual transaction_hash N/A N/A input prevout hash N/A N/A N/A self assertEqual output_index N/A N/A input prevout n N/A N/A N/A self assertEqual script N/A bytes N/A input scriptSig N/A assert_output N/A N/A self output nValue scriptPubKey N/A N/A N/A N/A N/A self assertEqual nValue N/A output nValue N/A N/A N/A self assertEqual scriptPubKey N/A bytes N/A output scriptPubKey N/A assert_marker N/A N/A self output asset_quantities metadata N/A N/A N/A payload N/A N/A N/A N/A openassets protocol MarkerOutput parse_script N/A output scriptPubKey N/A marker_output N/A N/A N/A N/A openassets protocol MarkerOutput deserialize_payload payload N/A N/A N/A self assertEqual 0 N/A output nValue N/A N/A N/A self assertEqual asset_quantities N/A marker_output asset_quantities N/A N/A N/A self assertEqual metadata N/A marker_output metadata N/A N/A SpendableOutputTests N/A N/A unittest TestCase N/A test_init_success N/A N/A self N/A N/A N/A target N/A N/A N/A openassets transactions SpendableOutput N/A N/A N/A bitcoin core COutPoint N/A 32 N/A N/A N/A openassets protocol TransactionOutput 100 N/A N/A N/A self assertEqual N/A 32 N/A N/A target out_point hash N/A N/A N/A self assertEqual 100 N/A N/A target output value N/A N/A