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:
OldNewDifferences
44
55
66 @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)
99 let assetId = calculateAssetId(asset)
1010 [asset, ScriptTransfer(i.caller, 1, assetId)]
1111 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @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)
99 let assetId = calculateAssetId(asset)
1010 [asset, ScriptTransfer(i.caller, 1, assetId)]
1111 }
1212
1313
1414
1515 @Callable(i)
1616 func transferNFT () = {
1717 let pmt = value(i.payments[0])
1818 let assetId = value(pmt.assetId)
1919 [ScriptTransfer(i.caller, 1, assetId)]
2020 }
2121
2222
2323 @Verifier(tx)
2424 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2525

github/deemru/w8io/026f985 
20.11 ms