tx · 7azenFAXv6sV4nNvZnvSsKTEM1DiboGmF6cYDcFAAXAW
3N7Gg64FJ3ESaqn41qu1ete7zmzbmoP1AAV: -0.01400000 Waves
2021.12.10 12:08 [1827942] smart account 3N7Gg64FJ3ESaqn41qu1ete7zmzbmoP1AAV > SELF 0.00000000 Waves
{
"type": 13,
"id": "7azenFAXv6sV4nNvZnvSsKTEM1DiboGmF6cYDcFAAXAW",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1639127367522,
"version": 2,
"chainId": 84,
"sender": "3N7Gg64FJ3ESaqn41qu1ete7zmzbmoP1AAV",
"senderPublicKey": "5amLtMwixiEesBDKPy9dkFWntG2fNxhTs5n69JbQE9F7",
"proofs": [
"3BQEJZQbej5ogZGYYCjdkuVnSSLGRvV3fHuD4UhxQhz1E93xSoRA87dfKrELCZirhHkQuCMEmD8nT8k8wykD5YJD"
],
"script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAAAAAAEAAAABaQEAAAAEY2FsbAAAAAEAAAAEaWQ1OAQAAAACaWQJAAJZAAAAAQUAAAAEaWQ1OAQAAAABeAQAAAAHJG1hdGNoMAkAA+4AAAABBQAAAAJpZAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAADdHR4BQAAAAckbWF0Y2gwCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAhzZW5kZXI6IAkABCUAAAABCAUAAAADdHR4AAAABnNlbmRlcgIAAAAKLCBhbW91bnQ6IAkAAaQAAAABCAUAAAADdHR4AAAABmFtb3VudAkAAAIAAAABAgAAABZDYW4ndCBmaW5kIHRyYW5zYWN0aW9uCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAAS0FAAAAAXgFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5xTQhIw==",
"height": 1827942,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 1ujJ1ntBmjvdnWcVp5xH53cSZMkVvwimtnXUdk6dQ4E
Next: 5WWd3dKpfr2PabFQxmt8e9FNvCPxdoKSJCFjNBkvXoRv
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func call () = { |
---|
8 | | - | let transferId = base58'J2rcMzCWCZ1P3SFZzvz9PR2NtBjomDh57HTcqptaAJHK' |
---|
9 | | - | let x = match transferTransactionById(transferId) { |
---|
| 7 | + | func call (id58) = { |
---|
| 8 | + | let id = fromBase58String(id58) |
---|
| 9 | + | let x = match transferTransactionById(id) { |
---|
10 | 10 | | case ttx: TransferTransaction => |
---|
11 | 11 | | ((("sender: " + toString(ttx.sender)) + ", amount: ") + toString(ttx.amount)) |
---|
12 | 12 | | case _ => |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func call () = { |
---|
8 | | - | let transferId = base58'J2rcMzCWCZ1P3SFZzvz9PR2NtBjomDh57HTcqptaAJHK' |
---|
9 | | - | let x = match transferTransactionById(transferId) { |
---|
| 7 | + | func call (id58) = { |
---|
| 8 | + | let id = fromBase58String(id58) |
---|
| 9 | + | let x = match transferTransactionById(id) { |
---|
10 | 10 | | case ttx: TransferTransaction => |
---|
11 | 11 | | ((("sender: " + toString(ttx.sender)) + ", amount: ") + toString(ttx.amount)) |
---|
12 | 12 | | case _ => |
---|
13 | 13 | | throw("Can't find transaction") |
---|
14 | 14 | | } |
---|
15 | 15 | | [StringEntry("-", x)] |
---|
16 | 16 | | } |
---|
17 | 17 | | |
---|
18 | 18 | | |
---|
19 | 19 | | @Verifier(tx) |
---|
20 | 20 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
21 | 21 | | |
---|