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
44
55
66 @Callable(i)
7-func manualFundTransfer (recepientAddr,Attachment) = {
7+func manualFundTransfer (recepientAddr,message) = {
88 let caller = i.caller.bytes
9+ let Attachment = toBytes(message)
910 let reciver = fromBase58String(recepientAddr)
1011 let amount = i.payments[0].amount
1112 if ((toString(amount) == ""))
1213 then throw("Payment is not attached or empty")
13- else [IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr), ScriptTransfer(Address(reciver), amount, Attachment)]
14+ else [IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr), ScriptTransfer(Address(reciver), amount, unit), ScriptTransfer(Address(reciver), 1, Attachment)]
1415 }
1516
1617
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
7-func manualFundTransfer (recepientAddr,Attachment) = {
7+func manualFundTransfer (recepientAddr,message) = {
88 let caller = i.caller.bytes
9+ let Attachment = toBytes(message)
910 let reciver = fromBase58String(recepientAddr)
1011 let amount = i.payments[0].amount
1112 if ((toString(amount) == ""))
1213 then throw("Payment is not attached or empty")
13- else [IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr), ScriptTransfer(Address(reciver), amount, Attachment)]
14+ else [IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr), ScriptTransfer(Address(reciver), amount, unit), ScriptTransfer(Address(reciver), 1, Attachment)]
1415 }
1516
1617

github/deemru/w8io/169f3d6 
25.60 ms