tx · 7YREqRCwUJHE7GBLYyw9wBmGjAzXXUkEGRpCpFsrbdUo 3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo: -0.01000000 Waves 2022.11.04 10:09 [2302044] smart account 3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo > SELF 0.00000000 Waves
{ "type": 13, "id": "7YREqRCwUJHE7GBLYyw9wBmGjAzXXUkEGRpCpFsrbdUo", "fee": 1000000, "feeAssetId": null, "timestamp": 1667545539629, "version": 2, "chainId": 84, "sender": "3N72SETEKtTuaA3YNVYWgVEmXKrRrZYXHGo", "senderPublicKey": "Kwu4LYBMntApXv8t7csxV23Kvc3tvak26wMKK56tA4V", "proofs": [ "5yHHHqjSjb8jq4zVs5PDepTJtNmxLY5uSM9tQAhRpvYYyn1T2zC38a8HocShxMvAcWrAjYm4Xrc165xCHH4BsdPe" ], "script": "base64:AAIFAAAAAAAAAAsIAhIHCgUIAQgIAQAAAAAAAAABAAAAAWkBAAAAB2J1eUl0ZW0AAAAFAAAACG5mdF9uYW1lAAAABmFtb3VudAAAAA9jcmVhdG9yX2FkZHJlc3MAAAAPbmZ0X2Rlc2NyaXB0aW9uAAAACW5mdF9wcmljZQQAAAAMb3duZXJBZGRyZXNzCAUAAAABaQAAAAZjYWxsZXIJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAIbmZ0X25hbWUFAAAACG5mdF9uYW1lCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAAZhbW91bnQFAAAABmFtb3VudAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAA9uZnRfZGVzY3JpcHRpb24FAAAAD25mdF9kZXNjcmlwdGlvbgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAJbmZ0X3ByaWNlBQAAAAluZnRfcHJpY2UJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAAMb3duZXJBZGRyZXNzBQAAAAluZnRfcHJpY2UFAAAABHVuaXQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAAMb3duZXJBZGRyZXNzBQAAAAZhbW91bnQFAAAABHVuaXQFAAAAA25pbAAAAAB2g58C", "height": 2302044, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 69yPc8iCycPzFnFywJKoRYTPQCLHokiKKmRuphPN6ddf Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | ||
5 | + | ||
6 | + | @Callable(i) | |
7 | + | func buyItem (nft_name,amount,creator_address,nft_description,nft_price) = { | |
8 | + | let ownerAddress = i.caller | |
9 | + | [StringEntry("nft_name", nft_name), IntegerEntry("amount", amount), StringEntry("nft_description", nft_description), IntegerEntry("nft_price", nft_price), ScriptTransfer(ownerAddress, nft_price, unit), ScriptTransfer(ownerAddress, amount, unit)] | |
10 | + | } | |
11 | + | ||
12 | + |
github/deemru/w8io/026f985 41.32 ms ◑