Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FUN @block_height get_Block_Timestamp
- SLP $decision
- FUN @amount get_Current_Balance
- BGE $amount $target_amount :funded
- FUN @timestamp get_Creation_Timestamp
- refund_loop:
- FUN A_to_Tx_after_Timestamp $timestamp
- FUN @tx_info check_A_Is_Zero
- BZR $tx_info :end_loop
- FUN @tx_amount get_Amount_for_Tx_in_A
- FUN @timestamp get_Timestamp_for_Tx_in_A
- FUN B_to_Address_of_Tx_in_A
- SET @funded #0000000000000002
- FUN send_to_Address_in_B $tx_amount
- JMP :refund_loop
- funded:
- SET @funded #0000000000000001
- FUN B_to_Address_of_Creator
- FUN send_All_to_Address_in_B
- FUN @timestamp get_Last_Block_Timestamp
- end_loop:
- FUN A_to_Tx_after_Timestamp $timestamp
- FUN @tx_info check_A_Is_Zero
- BZR $tx_info :end_loop
- FUN @timestamp get_Timestamp_for_Tx_in_A
- FUN B_to_Address_of_Creator
- FUN send_All_to_Address_in_B
- JMP :end_loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement