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 teams = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'
45
6+let usd = base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT'
7+
8+let WAVES = base58''
59
610 @Callable(i)
7-func token () = {
8- let asset = Issue("shub", "This is an ordinary token", 10000000, 2, true)
9- let assetId = calculateAssetId(asset)
10- let Alice = Address(base58'3NCspLgbmcyQ76ZL6Jw4gFZLmbhwdKKXUQs')
11-[asset, ScriptTransfer(Alice, 1000, assetId)]
11+func transferToken (recepientAddr,message,currency,currency2) = {
12+ let caller = i.caller.bytes
13+ let reciver = fromBase58String(recepientAddr)
14+ let amount = i.payments[0].amount
15+ let amount2 = i.payments[1].amount
16+[IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr), ScriptTransfer(Address(reciver), amount, currency), ScriptTransfer(Address(reciver), amount2, currency2)]
1217 }
1318
14-
15-@Verifier(tx)
16-func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1719

github/deemru/w8io/169f3d6 
24.83 ms