tx · 6vP8SgzNF565yMyRiPbgoGARiQ4uysRyrA5ypkZVgYKK

3NB185D8btjAuVbwGGEW4Tea58u8RDmWx4k:  -0.01000000 Waves

2023.01.27 20:26 [2423671] smart account 3NB185D8btjAuVbwGGEW4Tea58u8RDmWx4k > SELF 0.00000000 Waves

{ "type": 13, "id": "6vP8SgzNF565yMyRiPbgoGARiQ4uysRyrA5ypkZVgYKK", "fee": 1000000, "feeAssetId": null, "timestamp": 1674840407093, "version": 2, "chainId": 84, "sender": "3NB185D8btjAuVbwGGEW4Tea58u8RDmWx4k", "senderPublicKey": "DiRuhEevzkmFod2BvA8AwKcXLg2mrrAWoejac2CvAqdv", "proofs": [ "4rjx3oW8k19g7pvWxY3HMa2SFCoXAVczMFJj1SN9xpSFms8vTv7mQe19hMDwzwWXvxdZgzYEhnSLyMQF3PwXtJM7" ], "script": "base64:BQQAAAADQm9iCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFU506jvibr/Cx18D79wl5Us6+snCem1j3dBAAAAAVBbGljZQkBAAAAB0FkZHJlc3MAAAABAQAAABoBVMfX0L26VwPAQ7HJRJ1CfDyE+/CxwG4+FgQAAAAMYmVmb3JlSGVpZ2h0AAAAAAAAJPt7BAAAAAZzZWNyZXQBAAAAILzpOG5Lck5j7hKXssrKaAFCPnEC5jhPb0ozVUBZcrt1BAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAQAAAAHdHhUb0JvYgMDCQAAAAAAAAIIBQAAAAF0AAAACXJlY2lwaWVudAUAAAADQm9iCQAAAAAAAAIJAAH3AAAAAQkAAZEAAAACCAUAAAABdAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAABnNlY3JldAcJAABnAAAAAgkAAGQAAAACAAAAAAAAAAAUBQAAAAxiZWZvcmVIZWlnaHQFAAAABmhlaWdodAcEAAAAFmJhY2tUb0FsaWNlQWZ0ZXJIZWlnaHQDCQAAZwAAAAIFAAAABmhlaWdodAkAAGQAAAACAAAAAAAAAAAVBQAAAAxiZWZvcmVIZWlnaHQJAAAAAAAAAggFAAAAAXQAAAAJcmVjaXBpZW50BQAAAAVBbGljZQcDBQAAAAd0eFRvQm9iBgUAAAAWYmFja1RvQWxpY2VBZnRlckhlaWdodAaLsiG6", "height": 2423671, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 79Le2YoYZGCByw5tLsJm82bx5iQPxvZeGMHT2MJvJVpg Next: 2AgveEhpH3r8mRjE14mozsQKVhE9F77ktymLeTKGKomU Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3-let Bob = Address(base58'3Mw2s9HwPdXxC7KZzVtnerd684wqSZ2YmHe')
4-let Alice = Address(base58'3Mx3jPENaKAoGqTjXgUW3NuoH4RLUBEDwQn')
5-let beforeHeight = 100000
3+let Bob = Address(base58'3NB185D8btjAuVbwGGEW4Tea58u8RDmWx4k')
4+let Alice = Address(base58'3N88knDD9LtFmMBdmpNFbwHGuGKLSaEseNZ')
5+let beforeHeight = 2423675
66 let secret = base58'DiRuhEevzkmFod2BvA8AwKcXLg2mrrAWoejac2CvAqdv'
77 match tx {
88 case t: TransferTransaction =>
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3-let Bob = Address(base58'3Mw2s9HwPdXxC7KZzVtnerd684wqSZ2YmHe')
4-let Alice = Address(base58'3Mx3jPENaKAoGqTjXgUW3NuoH4RLUBEDwQn')
5-let beforeHeight = 100000
3+let Bob = Address(base58'3NB185D8btjAuVbwGGEW4Tea58u8RDmWx4k')
4+let Alice = Address(base58'3N88knDD9LtFmMBdmpNFbwHGuGKLSaEseNZ')
5+let beforeHeight = 2423675
66 let secret = base58'DiRuhEevzkmFod2BvA8AwKcXLg2mrrAWoejac2CvAqdv'
77 match tx {
88 case t: TransferTransaction =>
99 let txToBob = if (if ((t.recipient == Bob))
1010 then (sha256(t.proofs[0]) == secret)
1111 else false)
1212 then ((20 + beforeHeight) >= height)
1313 else false
1414 let backToAliceAfterHeight = if ((height >= (21 + beforeHeight)))
1515 then (t.recipient == Alice)
1616 else false
1717 if (txToBob)
1818 then true
1919 else backToAliceAfterHeight
2020 case _ =>
2121 true
2222 }

github/deemru/w8io/169f3d6 
53.97 ms