tx · CBcRGjcPduaEGCP5WJqzDqhq7fckw9FgydVjUrEhpcQ2

3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F:  -0.01000000 Waves

2023.02.14 14:07 [2449210] smart account 3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F > SELF 0.00000000 Waves

{ "type": 13, "id": "CBcRGjcPduaEGCP5WJqzDqhq7fckw9FgydVjUrEhpcQ2", "fee": 1000000, "feeAssetId": null, "timestamp": 1676373011017, "version": 2, "chainId": 84, "sender": "3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F", "senderPublicKey": "3V22YUj3GF4AeBxdWx8rgGdG4groE4W6P2s4sAkshe7R", "proofs": [ "NFYqstY5XXxA3xjR4Ya3wZjACxS8dpxaan8CAtFu6d9HtWKRfKXTsnncidChPyDVtwsmPULAzkAE5bvVb6vMqQ4" ], "script": "base64:BgIPCAISBAoCCAgSBQoDCAEIAgAFdGVhbXMBIIVjlaPziI6w3gwXjghOv5o/krsm2zrodo4W3BQiKkh+AAVXQVZFUwEAAgFpAQ10cmFuc2ZlclRva2VuAg1yZWNlcGllbnRBZGRyB21lc3NhZ2UEBmNhbGxlcggIBQFpBmNhbGxlcgVieXRlcwQHcmVjaXZlcgkA2QQBBQ1yZWNlcGllbnRBZGRyBAZhbW91bnQICQCRAwIIBQFpCHBheW1lbnRzAAAGYW1vdW50AwkAAAIICQCRAwIIBQFpCHBheW1lbnRzAAAHYXNzZXRJZAUFdGVhbXMJAMwIAgkBDEludGVnZXJFbnRyeQIJAKwCAgkA2AQBBQZjYWxsZXICCV90cmFuc2ZlcgUGYW1vdW50CQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkA2AQBBQZjYWxsZXICDF90cmFuc2Zlcl90bwUNcmVjZXBpZW50QWRkcgkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCQEHQWRkcmVzcwEFB3JlY2l2ZXIFBmFtb3VudAUFdGVhbXMFA25pbAUDbmlsAWkBC3NlbmRSZXF1ZXN0Aw1yZWNlcGllbnRBZGRyBmFtb3VudApBdHRhY2htZW50BAZjYWxsZXIICAUBaQZjYWxsZXIFYnl0ZXMEB21lc3NhZ2UJAJsDAQUKQXR0YWNobWVudAQHcmVjaXZlcgkA2QQBBQ1yZWNlcGllbnRBZGRyCQDMCAIJAQtTdHJpbmdFbnRyeQIJAKwCAgkA2AQBBQZjYWxsZXICDF90cmFuc2Zlcl90bwUNcmVjZXBpZW50QWRkcgkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCQEHQWRkcmVzcwEFB3JlY2l2ZXIAAAUHbWVzc2FnZQUDbmlsAHq+JW8=", "height": 2449210, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8xLa6JGkxcjPD6rPjBuM3HN1JncvpQe3yRMTWteQ6Qbg Next: 3bFQpyK6D7kzhR8ZUQ4y37GH98gyZs5bgEM6sHUZ2jf6 Diff:
OldNewDifferences
2020 @Callable(i)
2121 func sendRequest (recepientAddr,amount,Attachment) = {
2222 let caller = i.caller.bytes
23+ let message = toBytes(Attachment)
2324 let reciver = fromBase58String(recepientAddr)
24-[StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr), ScriptTransfer(Address(reciver), 0, Attachment)]
25+[StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr), ScriptTransfer(Address(reciver), 0, message)]
2526 }
2627
2728
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let teams = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'
55
66 let WAVES = base58''
77
88 @Callable(i)
99 func transferToken (recepientAddr,message) = {
1010 let caller = i.caller.bytes
1111 let reciver = fromBase58String(recepientAddr)
1212 let amount = i.payments[0].amount
1313 if ((i.payments[0].assetId == teams))
1414 then [IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr), ScriptTransfer(Address(reciver), amount, teams)]
1515 else nil
1616 }
1717
1818
1919
2020 @Callable(i)
2121 func sendRequest (recepientAddr,amount,Attachment) = {
2222 let caller = i.caller.bytes
23+ let message = toBytes(Attachment)
2324 let reciver = fromBase58String(recepientAddr)
24-[StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr), ScriptTransfer(Address(reciver), 0, Attachment)]
25+[StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr), ScriptTransfer(Address(reciver), 0, message)]
2526 }
2627
2728

github/deemru/w8io/169f3d6 
61.13 ms