tx · 98NbKY5XfA4fhXbbJ5CZwfBgySRDo9HVHcrmxDCKQo32

3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx:  -0.01000000 Waves

2023.04.07 09:15 [2523785] smart account 3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx > SELF 0.00000000 Waves

{ "type": 13, "id": "98NbKY5XfA4fhXbbJ5CZwfBgySRDo9HVHcrmxDCKQo32", "fee": 1000000, "feeAssetId": null, "timestamp": 1680848251326, "version": 2, "chainId": 84, "sender": "3N5BTH4bjnXn7AAKoj4sswxytsPGmdXUuTx", "senderPublicKey": "DyeDJ3fgwVVux2WRkxpLU9BbVjTM96AyV58b7bRFzCBx", "proofs": [ "4qErFAcjEhFzY2RwaMw5Y2WffLUwZ9U9S2wWAdXtwjztGpzTGMPa57G8PCdy9Kj6xrXaUzGHtAW4gUFEkt9TvtfP" ], "script": "base64:BgIKCAISBgoECAgCAgMABXRlYW1zASCFY5Wj84iOsN4MF44ITr+aP5K7Jts66HaOFtwUIipIfgADdXNkASAP8hwSrOTEPJrsRhqrJaiw7LoHK0bMbYhy8LXikkkBtAAFV0FWRVMBAAEBaQENdHJhbnNmZXJUb2tlbgQNcmVjZXBpZW50QWRkcgdtZXNzYWdlCGN1cnJlbmN5CWN1cnJlbmN5MgQGY2FsbGVyCAgFAWkGY2FsbGVyBWJ5dGVzBAdyZWNpdmVyCQDZBAEFDXJlY2VwaWVudEFkZHIEBmFtb3VudAgJAJEDAggFAWkIcGF5bWVudHMAAAZhbW91bnQEB2Ftb3VudDIICQCRAwIIBQFpCHBheW1lbnRzAAEGYW1vdW50CQDMCAIJAQxJbnRlZ2VyRW50cnkCCQCsAgIJANgEAQUGY2FsbGVyAglfdHJhbnNmZXIFBmFtb3VudAkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgIJANgEAQUGY2FsbGVyAgxfdHJhbnNmZXJfdG8FDXJlY2VwaWVudEFkZHIJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwkBB0FkZHJlc3MBBQdyZWNpdmVyBQZhbW91bnQFCGN1cnJlbmN5CQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMJAQdBZGRyZXNzAQUHcmVjaXZlcgUHYW1vdW50MgUJY3VycmVuY3kyBQNuaWwAJsyiAw==", "height": 2523785, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 31aAiprzaiwBDpmDU4z7cNTq1rxDHvV2dXnoJzemFNR4 Next: 21KsxsuxQoa9dBxjwAdPbaurvmWqFN1z8yMgqc35ZzAv Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4+let a = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'
45
6+let b = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT'
57
6-@Callable(a)
7-func token () = {
8- let b = Issue("shub", "This is an ordinary token", 10000000, 2, true)
9- let c = calculateAssetId(b)
10- let d = Address(base58'3NCspLgbmcyQ76ZL6Jw4gFZLmbhwdKKXUQs')
11-[b, ScriptTransfer(d, 1000, c)]
8+let c = base58''
9+
10+@Callable(d)
11+func transferToken (e,f,g,h) = {
12+ let i = d.caller.bytes
13+ let j = fromBase58String(e)
14+ let k = d.payments[0].amount
15+ let l = d.payments[1].amount
16+[IntegerEntry((toBase58String(i) + "_transfer"), k), StringEntry((toBase58String(i) + "_transfer_to"), e), ScriptTransfer(Address(j), k, g), ScriptTransfer(Address(j), l, h)]
1217 }
1318
14-
15-@Verifier(e)
16-func f () = sigVerify(e.bodyBytes, e.proofs[0], e.senderPublicKey)
1719

github/deemru/w8io/169f3d6 
33.47 ms