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(c)
2121 func sendRequest (d,h,i) = {
2222 let f = c.caller.bytes
23+ let e = toBytes(i)
2324 let g = fromBase58String(d)
24-[StringEntry((toBase58String(f) + "_transfer_to"), d), ScriptTransfer(Address(g), 0, i)]
25+[StringEntry((toBase58String(f) + "_transfer_to"), d), ScriptTransfer(Address(g), 0, e)]
2526 }
2627
2728
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'
55
66 let b = base58''
77
88 @Callable(c)
99 func transferToken (d,e) = {
1010 let f = c.caller.bytes
1111 let g = fromBase58String(d)
1212 let h = c.payments[0].amount
1313 if ((c.payments[0].assetId == a))
1414 then [IntegerEntry((toBase58String(f) + "_transfer"), h), StringEntry((toBase58String(f) + "_transfer_to"), d), ScriptTransfer(Address(g), h, a)]
1515 else nil
1616 }
1717
1818
1919
2020 @Callable(c)
2121 func sendRequest (d,h,i) = {
2222 let f = c.caller.bytes
23+ let e = toBytes(i)
2324 let g = fromBase58String(d)
24-[StringEntry((toBase58String(f) + "_transfer_to"), d), ScriptTransfer(Address(g), 0, i)]
25+[StringEntry((toBase58String(f) + "_transfer_to"), d), ScriptTransfer(Address(g), 0, e)]
2526 }
2627
2728

github/deemru/w8io/026f985 
28.63 ms