tx · HE3oYuUbTsVH9B4pRE1i5tKNRzu28Fj4r4yrQjCq3Ai 3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F: -0.01000000 Waves 2023.05.09 08:54 [2569940] smart account 3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F > SELF 0.00000000 Waves
{ "type": 13, "id": "HE3oYuUbTsVH9B4pRE1i5tKNRzu28Fj4r4yrQjCq3Ai", "fee": 1000000, "feeAssetId": null, "timestamp": 1683611843928, "version": 2, "chainId": 84, "sender": "3N9cKCHp6ZLMgz7rRgF8Q8DEt8zbtd1Ht7F", "senderPublicKey": "3V22YUj3GF4AeBxdWx8rgGdG4groE4W6P2s4sAkshe7R", "proofs": [ "5eUG12G9PRJsoDaAcXjvWXBXNUCcaJrxNaF6gGumk9afNkaQCZUF1chxAUgBeA9ASR4iwRL5UfKggrePC8rgog1L" ], "script": "base64:BgIHCAISAwoBCAIABXRlYW1zASCFY5Wj84iOsN4MF44ITr+aP5K7Jts66HaOFtwUIipIfgAFV0FWRVMBAAEBaQENYXNpbWlUcmFuc2ZlcgENcmVjZXBpZW50QWRkcgQGY2FsbGVyCAgFAWkGY2FsbGVyBWJ5dGVzBAdyZWNpdmVyCQDZBAEFDXJlY2VwaWVudEFkZHIEBmFtb3VudAgJAJEDAggFAWkIcGF5bWVudHMAAAZhbW91bnQEDXNlbmRlckJhbGFuY2UJAPAHAggFAWkGY2FsbGVyASCFY5Wj84iOsN4MF44ITr+aP5K7Jts66HaOFtwUIipIfgMJAAACCAkAkQMCCAUBaQhwYXltZW50cwAAB2Fzc2V0SWQFBXRlYW1zCQDMCAIJAQxJbnRlZ2VyRW50cnkCCQCsAgIJANgEAQUGY2FsbGVyAglfdHJhbnNmZXIFBmFtb3VudAkAzAgCCQELU3RyaW5nRW50cnkCCQCsAgIJANgEAQUGY2FsbGVyAgxfdHJhbnNmZXJfdG8FDXJlY2VwaWVudEFkZHIJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwkBB0FkZHJlc3MBBQdyZWNpdmVyBQZhbW91bnQFBXRlYW1zBQNuaWwFA25pbACkDpyN", "height": 2569940, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: H3U1vJoVxDuGEVZXmGPsFHKVUWh2xiqzVGTykVQxozb7 Next: 4YT6VDBJCSxDNHMCmaNaFYqCFBwqBRLUAYLef2MFRxVA Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let teams = base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq' | |
5 | 5 | ||
6 | 6 | let WAVES = base58'' | |
7 | 7 | ||
8 | 8 | @Callable(i) | |
9 | 9 | func asimiTransfer (recepientAddr) = { | |
10 | 10 | let caller = i.caller.bytes | |
11 | 11 | let reciver = fromBase58String(recepientAddr) | |
12 | 12 | let amount = i.payments[0].amount | |
13 | 13 | let senderBalance = assetBalance(i.caller, base58'9yhJDfWjPpv6tFjWRD1AJyBQwausJf2ZdxzLn86Uknnq') | |
14 | 14 | if ((i.payments[0].assetId == teams)) | |
15 | 15 | then [IntegerEntry((toBase58String(caller) + "_transfer"), amount), StringEntry((toBase58String(caller) + "_transfer_to"), recepientAddr), ScriptTransfer(Address(reciver), amount, teams)] | |
16 | 16 | else nil | |
17 | 17 | } | |
18 | 18 | ||
19 | 19 |
github/deemru/w8io/026f985 34.32 ms ◑