tx · AR6pWg9iiu1RRTSyRQ7WMQKhx5JZrDZ8GuYqd86PrkCZ

3N13FbTEbf75JgCvA4xLHJaf17eieVshJpY:  -0.01000000 Waves

2023.07.05 11:43 [2652387] smart account 3N13FbTEbf75JgCvA4xLHJaf17eieVshJpY > SELF 0.00000000 Waves

{ "type": 13, "id": "AR6pWg9iiu1RRTSyRQ7WMQKhx5JZrDZ8GuYqd86PrkCZ", "fee": 1000000, "feeAssetId": null, "timestamp": 1688546587731, "version": 2, "chainId": 84, "sender": "3N13FbTEbf75JgCvA4xLHJaf17eieVshJpY", "senderPublicKey": "GDDsczxCkweNBUuptUZa7snEYfdGLGqHFWneG2sCMM3M", "proofs": [ "27hX28TpJ2zgWE9tSmrcc2MtdAsMQW9en9swMKrmwxkqDtisv6iP8UxqGn3CPypZjdXRqSqN4MweK9SsKBGLNusH" ], "script": "base64:BgIMCAISAwoBCBIDCgEIAwAFdGVhbXMBIIVjlaPziI6w3gwXjghOv5o/krsm2zrodo4W3BQiKkh+AAVBU0lNSQEgyfO3KK1nQRdNMgY1dCxkhGzviOKkmyfHFOqpH9CNn1QABVdBVkVTAQACAWkBDWFzaW1pVHJhbnNmZXIBDXJlY2VwaWVudEFkZHIEBmNhbGxlcggIBQFpBmNhbGxlcgVieXRlcwQHcmVjaXZlcgkA2QQBBQ1yZWNlcGllbnRBZGRyBAZhbW91bnQICQCRAwIIBQFpCHBheW1lbnRzAAAGYW1vdW50AwkAAAIICQCRAwIIBQFpCHBheW1lbnRzAAAHYXNzZXRJZAUFQVNJTUkJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwkBB0FkZHJlc3MBBQdyZWNpdmVyBQZhbW91bnQFBXRlYW1zCQDMCAIJAQxJbnRlZ2VyRW50cnkCCQCsAgIJANgEAQUGY2FsbGVyAglfdHJhbnNmZXIFBmFtb3VudAkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgIJANgEAQUGY2FsbGVyAgxfdHJhbnNmZXJfdG8FDXJlY2VwaWVudEFkZHIFA25pbAUDbmlsAWkBDXdhdmVzVHJhbnNmZXIBDXJlY2VwaWVudEFkZHIEBmNhbGxlcggIBQFpBmNhbGxlcgVieXRlcwQHcmVjaXZlcgkA2QQBBQ1yZWNlcGllbnRBZGRyBAZhbW91bnQICQCRAwIIBQFpCHBheW1lbnRzAAAGYW1vdW50AwkAAAIICQCRAwIIBQFpCHBheW1lbnRzAAAHYXNzZXRJZAUEdW5pdAkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCQEHQWRkcmVzcwEFB3JlY2l2ZXIFBmFtb3VudAUEdW5pdAkAzAgCCQEMSW50ZWdlckVudHJ5AgkArAICCQDYBAEFBmNhbGxlcgIJX3RyYW5zZmVyBQZhbW91bnQJAMwIAgkBC1N0cmluZ0VudHJ5AgkArAICCQDYBAEFBmNhbGxlcgIMX3RyYW5zZmVyX3RvBQ1yZWNlcGllbnRBZGRyBQNuaWwFA25pbABGmCxc", "height": 2652387, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HQZmcY4chvv8t8vjL7vKvDn2U9LAiT4WCGcLFtuBcPzv Next: 8wnNfyWgEjUXudmM9K9VEj88qAxZPYUwKVJqyD6oTiZr Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let teams = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq'
55
66 let ASIMI = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
77
88 let WAVES = base58''
99
1010 @Callable(i)
1111 func asimiTransfer (recepientAddr) = {
1212 let caller = i.caller.bytes
1313 let reciver = fromBase58String(recepientAddr)
1414 let amount = i.payments[0].amount
1515 if ((i.payments[0].assetId == ASIMI))
1616 then [ScriptTransfer(Address(reciver), amount, teams), IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr)]
1717 else nil
1818 }
1919
2020
2121
2222 @Callable(i)
2323 func wavesTransfer (recepientAddr) = {
2424 let caller = i.caller.bytes
2525 let reciver = fromBase58String(recepientAddr)
2626 let amount = i.payments[0].amount
2727 if ((i.payments[0].assetId == unit))
2828 then [ScriptTransfer(Address(reciver), amount, unit), IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr)]
2929 else nil
3030 }
3131
3232

github/deemru/w8io/169f3d6 
19.56 ms