tx · Cpoq14HMRSiPGD65C9vqmgLqTVSfvfBVnpGRLqWiGDwq
3N992tjd7EWM6dSHrdVjjjuJrLD4koNztZ9: -0.01400000 Waves
2021.12.23 19:20 [1847140] smart account 3N992tjd7EWM6dSHrdVjjjuJrLD4koNztZ9 > SELF 0.00000000 Waves
{
"type": 13,
"id": "Cpoq14HMRSiPGD65C9vqmgLqTVSfvfBVnpGRLqWiGDwq",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1640276445004,
"version": 2,
"chainId": 84,
"sender": "3N992tjd7EWM6dSHrdVjjjuJrLD4koNztZ9",
"senderPublicKey": "uvA9vj4MSzAjnVrqWShC8bnbSu5CxvEbd1m68b21qEw",
"proofs": [
"2qiYxtUQDVgo9jQL4q6YFdM4W4fuR63d6dSqijLqspvbDx9JhSCdr4nMd3JNRKdeMtBgifinc7jNJyamVtSLC5ms"
],
"script": "base64:AAIFAAAAAAAAAFYIAhIDCgEIEgAaBgoBYRIBaRoJCgFiEgRuYW1lGgoKAWMSBWFzc2V0GgwKAWQSB2Fzc2V0SWQaCAoBZRIDcG10GgcKAWYSAnR4GgsKAWcSBnZlcmlmeQAAAAAAAAACAAAAAWEBAAAADmlzc3VlRnJlZVB1cHB5AAAAAQAAAAFiBAAAAAFjCQAEQgAAAAUFAAAAAWICAAAACUJPTEFTIE5GVAAAAAAAAAAAAQAAAAAAAAAAAAcEAAAAAWQJAAQ4AAAAAQUAAAABYwkABEwAAAACBQAAAAFjCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFhAAAABmNhbGxlcgAAAAAAAAAAAQUAAAABZAUAAAADbmlsAAAAAWEBAAAAC3RyYW5zZmVyTkZUAAAAAAQAAAABZQkBAAAABXZhbHVlAAAAAQkAAZEAAAACCAUAAAABYQAAAAhwYXltZW50cwAAAAAAAAAAAAQAAAABZAkBAAAABXZhbHVlAAAAAQgFAAAAAWUAAAAHYXNzZXRJZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABYQAAAAZjYWxsZXIAAAAAAAAAAAEFAAAAAWQFAAAAA25pbAAAAAEAAAABZgEAAAABZwAAAAAJAAH0AAAAAwgFAAAAAWYAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAFmAAAABnByb29mcwAAAAAAAAAAAAgFAAAAAWYAAAAPc2VuZGVyUHVibGljS2V5F2dJ3A==",
"height": 1847140,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 39nrBKsq4gY6zrsGg3eETwoJwE4zpMirPzMwJN5H2UHC
Next: none
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func issueFreePuppy () = { |
---|
8 | | - | let asset = Issue("PUPPY-11111111-B", "Sample Puppy NFT", 1, 0, false) |
---|
| 7 | + | func issueFreePuppy (name) = { |
---|
| 8 | + | let asset = Issue(name, "BOLAS NFT", 1, 0, false) |
---|
9 | 9 | | let assetId = calculateAssetId(asset) |
---|
10 | 10 | | [asset, ScriptTransfer(i.caller, 1, assetId)] |
---|
11 | 11 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func issueFreePuppy () = { |
---|
8 | | - | let asset = Issue("PUPPY-11111111-B", "Sample Puppy NFT", 1, 0, false) |
---|
| 7 | + | func issueFreePuppy (name) = { |
---|
| 8 | + | let asset = Issue(name, "BOLAS NFT", 1, 0, false) |
---|
9 | 9 | | let assetId = calculateAssetId(asset) |
---|
10 | 10 | | [asset, ScriptTransfer(i.caller, 1, assetId)] |
---|
11 | 11 | | } |
---|
12 | 12 | | |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | @Callable(i) |
---|
16 | 16 | | func transferNFT () = { |
---|
17 | 17 | | let pmt = value(i.payments[0]) |
---|
18 | 18 | | let assetId = value(pmt.assetId) |
---|
19 | 19 | | [ScriptTransfer(i.caller, 1, assetId)] |
---|
20 | 20 | | } |
---|
21 | 21 | | |
---|
22 | 22 | | |
---|
23 | 23 | | @Verifier(tx) |
---|
24 | 24 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
25 | 25 | | |
---|