tx · G3szmSP2GKy4LafXHsxWWPjvbW1ag8Byt1HxZYR3yPfz

3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F:  -0.01000000 Waves

2023.02.13 14:50 [2447805] smart account 3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F > SELF 0.00000000 Waves

{ "type": 13, "id": "G3szmSP2GKy4LafXHsxWWPjvbW1ag8Byt1HxZYR3yPfz", "fee": 1000000, "feeAssetId": null, "timestamp": 1676289141925, "version": 2, "chainId": 84, "sender": "3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F", "senderPublicKey": "3V22YUj3GF4AeBxdWx8rgGdG4groE4W6P2s4sAkshe7R", "proofs": [ "2P3Vqqj1nNNE7hxpjqZUqTMNRCPuNdFVsQsbNjzVQHrf6ALhtFX46jE8VtDSL6xuCpiYPUWuV8LTVusnvCExyGQd" ], "script": "base64:BgIICAISBAoCCAgAAQFpARJtYW51YWxGdW5kVHJhbnNmZXICDXJlY2VwaWVudEFkZHIHbWVzc2FnZQQGY2FsbGVyCAgFAWkGY2FsbGVyBWJ5dGVzBApBdHRhY2htZW50CQCbAwEFB21lc3NhZ2UEB3JlY2l2ZXIJANkEAQUNcmVjZXBpZW50QWRkcgQGYW1vdW50CAkAkQMCCAUBaQhwYXltZW50cwAABmFtb3VudAMJAAACCQCkAwEFBmFtb3VudAIACQACAQIgUGF5bWVudCBpcyBub3QgYXR0YWNoZWQgb3IgZW1wdHkJAMwIAgkBDEludGVnZXJFbnRyeQIJAKwCAgkA2AQBBQZjYWxsZXICCV90cmFuc2ZlcgUGYW1vdW50CQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkA2AQBBQZjYWxsZXICDF90cmFuc2Zlcl90bwUNcmVjZXBpZW50QWRkcgkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCQEHQWRkcmVzcwEFB3JlY2l2ZXIFBmFtb3VudAUEdW5pdAkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCQEHQWRkcmVzcwEFB3JlY2l2ZXIAAQUKQXR0YWNobWVudAUDbmlsAH4Ud7U=", "height": 2447805, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AwdGxBTwFUoYWLY6yayYCmpQQTcH3Bcb9LED9HXFuuw9 Next: 5ovoy8beqsZucP2b4pnSY3DaSjmpF7CnoLFrNuGDQ8zT Diff:
OldNewDifferences
66 @Callable(a)
77 func manualFundTransfer (b,c) = {
88 let d = a.caller.bytes
9- let e = fromBase58String(b)
10- let f = a.payments[0].amount
11- if ((toString(f) == ""))
9+ let e = toBytes(c)
10+ let f = fromBase58String(b)
11+ let g = a.payments[0].amount
12+ if ((toString(g) == ""))
1213 then throw("Payment is not attached or empty")
13- else [IntegerEntry((toBase58String(d) + "_transfer"), f), StringEntry((toBase58String(d) + "_transfer_to"), b), ScriptTransfer(Address(e), f, c)]
14+ else [IntegerEntry((toBase58String(d) + "_transfer"), g), StringEntry((toBase58String(d) + "_transfer_to"), b), ScriptTransfer(Address(f), g, unit), ScriptTransfer(Address(f), 1, e)]
1415 }
1516
1617
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func manualFundTransfer (b,c) = {
88 let d = a.caller.bytes
9- let e = fromBase58String(b)
10- let f = a.payments[0].amount
11- if ((toString(f) == ""))
9+ let e = toBytes(c)
10+ let f = fromBase58String(b)
11+ let g = a.payments[0].amount
12+ if ((toString(g) == ""))
1213 then throw("Payment is not attached or empty")
13- else [IntegerEntry((toBase58String(d) + "_transfer"), f), StringEntry((toBase58String(d) + "_transfer_to"), b), ScriptTransfer(Address(e), f, c)]
14+ else [IntegerEntry((toBase58String(d) + "_transfer"), g), StringEntry((toBase58String(d) + "_transfer_to"), b), ScriptTransfer(Address(f), g, unit), ScriptTransfer(Address(f), 1, e)]
1415 }
1516
1617

github/deemru/w8io/169f3d6 
28.15 ms