tx · C2j1dbvqcUwAJF7Wz8RLPRRTgAC7YH3ziqHKQVMg6T9U

3MwwXqqNtNyPD1U9Rov5ygG9bCUGJeJMTy2:  -0.01000000 Waves

2023.02.14 11:04 [2449028] smart account 3MwwXqqNtNyPD1U9Rov5ygG9bCUGJeJMTy2 > SELF 0.00000000 Waves

{ "type": 13, "id": "C2j1dbvqcUwAJF7Wz8RLPRRTgAC7YH3ziqHKQVMg6T9U", "fee": 1000000, "feeAssetId": null, "timestamp": 1676361892203, "version": 2, "chainId": 84, "sender": "3MwwXqqNtNyPD1U9Rov5ygG9bCUGJeJMTy2", "senderPublicKey": "GCbdokkxJFr9rj5258VmEVbDP4sQVUmXoiMz5hMRXa9S", "proofs": [ "2R7X38Sgfdy2fwWjWaWwxtxrQXLmXYJ3JjzZ88jeBLuL5dXsVYvVpZjPfLGCwphFJqREiHSgyU8gEYzFhQyuH5GB" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIICAAAAAAAAAABAAAAAWkBAAAAC3JlZ1Byb3ZpZGVyAAAAAgAAAAhwcm92aWRlcgAAAARkYXRhBAAAAA1pc0tub3duQ2FsbGVyBAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAABHRoaXMJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAARoaXN0BQAAAAckbWF0Y2gwBQAAAARoaXN0AgAAAAV1bnNldAQAAAAEdFVTRAEAAAAgqyRKarZCRuvS/ON5sGG6w65pV01SespFHKdAHRGwKQ4DCQAAAAAAAAIFAAAADWlzS25vd25DYWxsZXICAAAABXVuc2V0CQAFFAAAAAIJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBQAAAARkYXRhCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAA9CQAUAAAAEdFVTRAUAAAADbmlsBQAAAAR1bml0CQAAAgAAAAECAAAAFUNhbiBiZSB1c2VkIG9ubHkgb25jZQAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4CQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleU2ui94=", "height": 2449028, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3SD2GnDfCWvFn6TMnSmWmzd6XGS63AhYT8ceYVkdJ568 Next: 62C8Dz4zKtZPKEdYXC3deU4CNAf9LP11qhyQoaHAZoTa Diff:
OldNewDifferences
1212 "unset"
1313 }
1414 let tUSD = base58'CX4p6XcuSBUvv44r1avCqYka5PYAVzBK5hSXaT7maU85'
15- if ((isKnownCaller != ""))
15+ if ((isKnownCaller == "unset"))
1616 then $Tuple2([StringEntry(toBase58String(i.caller.bytes), data), ScriptTransfer(i.caller, 1000000, tUSD)], unit)
1717 else throw("Can be used only once")
1818 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func regProvider (provider,data) = {
88 let isKnownCaller = match getString(this, toBase58String(i.caller.bytes)) {
99 case hist: String =>
1010 hist
1111 case _ =>
1212 "unset"
1313 }
1414 let tUSD = base58'CX4p6XcuSBUvv44r1avCqYka5PYAVzBK5hSXaT7maU85'
15- if ((isKnownCaller != ""))
15+ if ((isKnownCaller == "unset"))
1616 then $Tuple2([StringEntry(toBase58String(i.caller.bytes), data), ScriptTransfer(i.caller, 1000000, tUSD)], unit)
1717 else throw("Can be used only once")
1818 }
1919
2020
2121 @Verifier(tx)
2222 func verify () = match tx {
2323 case _ =>
2424 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2525 }
2626

github/deemru/w8io/169f3d6 
33.76 ms