tx · CFX9BLfo98YfWYQdqrLAPxQvSuMs2ohhSUQUurdAE532

3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo:  -0.01000000 Waves

2022.11.30 18:46 [2340037] smart account 3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo > SELF 0.00000000 Waves

{ "type": 13, "id": "CFX9BLfo98YfWYQdqrLAPxQvSuMs2ohhSUQUurdAE532", "fee": 1000000, "feeAssetId": null, "timestamp": 1669822890689, "version": 2, "chainId": 84, "sender": "3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo", "senderPublicKey": "Kwu4LYBMntApXv8t7csxV23Kvc3tvak26wMKK56tA4V", "proofs": [ "L8Mm1jnHMk8K3fheFo8rxSRehbmAe6kbirH1X6eL96HByUufQww3SnC39PXKQem8EvmXEyEorqa6HfvXHQqC6D8" ], "script": "base64:BgIECAISAAMACHNyY1Rva2VuASC2JinDBPXOU5GkDkt1JC9kjFGx+t+vVCm9SNIdKrKq0QAIZHN0VG9rZW4BIFXuw76qC/BQ6HHIG6pucJ6kscj+Si65wfHMxWsPeJdLAAdtZXNzYWdlAiFUaGFuayB5b3UgZm9yIHVzaW5nIHRoZSBTV0FQIERBcHABAWkBBHN3YXAABANwbXQJAQV2YWx1ZQEJAJEDAggFAWkIcGF5bWVudHMAAAMJAQIhPQIIBQNwbXQHYXNzZXRJZAUIc3JjVG9rZW4JAAIBAhdJbmNvcnJlY3QgYXNzZXQgcGFzc2VkLgkAzAgCCQELU3RyaW5nRW50cnkCAgdtZXNzYWdlCQCsAgIJAKwCAgIfPGgxPllvdSBkaWQgYSBzd2FwITwvaDE+PGJyPjxwPgUHbWVzc2FnZQIDPHA+CQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMIBQFpBmNhbGxlcggFA3BtdAZhbW91bnQFCGRzdFRva2VuBQNuaWwBAnR4AQZ2ZXJpZnkABAckbWF0Y2gwBQJ0eAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleW/sJZY=", "height": 2340037, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3PATYRBvW1eqntrTjwRhPxJMQ2udWogCfqHBX88Esp1J Next: J7GbVs4iwNig74pvzgHJemegPjyxxHpEMzUyaeT7Joz8 Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let srcToken = base58'GpYDEF3wvpq8eGtk8EA5nUTWrpYnAnHmkrFoHAa1exf6'
4+let srcToken = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
55
6-let dstToken = base58'9KLbMrNFxAToNzXvm517165sbNjmKdTNMvjgoxEyx62F'
6+let dstToken = base58'6nSpVyNH7yM69eg446wrQR94ipbbcmZMU1ENPwanC97g'
77
88 let message = "Thank you for using the SWAP DApp"
99
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let srcToken = base58'GpYDEF3wvpq8eGtk8EA5nUTWrpYnAnHmkrFoHAa1exf6'
4+let srcToken = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
55
6-let dstToken = base58'9KLbMrNFxAToNzXvm517165sbNjmKdTNMvjgoxEyx62F'
6+let dstToken = base58'6nSpVyNH7yM69eg446wrQR94ipbbcmZMU1ENPwanC97g'
77
88 let message = "Thank you for using the SWAP DApp"
99
1010 @Callable(i)
1111 func swap () = {
1212 let pmt = value(i.payments[0])
1313 if ((pmt.assetId != srcToken))
1414 then throw("Incorrect asset passed.")
1515 else [StringEntry("message", (("<h1>You did a swap!</h1><br><p>" + message) + "<p>")), ScriptTransfer(i.caller, pmt.amount, dstToken)]
1616 }
1717
1818
1919 @Verifier(tx)
2020 func verify () = match tx {
2121 case _ =>
2222 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2323 }
2424

github/deemru/w8io/026f985 
19.72 ms