tx · 39nrBKsq4gY6zrsGg3eETwoJwE4zpMirPzMwJN5H2UHC

3N992tjd7EWM6dSHrdVjjjuJrLD4koNztZ9:  -0.01400000 Waves

2021.12.21 14:54 [1843994] smart account 3N992tjd7EWM6dSHrdVjjjuJrLD4koNztZ9 > SELF 0.00000000 Waves

{ "type": 13, "id": "39nrBKsq4gY6zrsGg3eETwoJwE4zpMirPzMwJN5H2UHC", "fee": 1400000, "feeAssetId": null, "timestamp": 1640087805694, "version": 2, "chainId": 84, "sender": "3N992tjd7EWM6dSHrdVjjjuJrLD4koNztZ9", "senderPublicKey": "uvA9vj4MSzAjnVrqWShC8bnbSu5CxvEbd1m68b21qEw", "proofs": [ "3BQtB8oSfF7VngMkXf1B3RpBEDoRP9hpdQvaBbZuR4wiVH2BKYHV3BWJTAgi2nB3V194w5nChZQZTiHFqHo1AxKG" ], "script": "base64:AAIFAAAAAAAAAEgIAhIAEgAaBgoBYRIBaRoKCgFiEgVhc3NldBoMCgFjEgdhc3NldElkGggKAWQSA3BtdBoHCgFlEgJ0eBoLCgFmEgZ2ZXJpZnkAAAAAAAAAAgAAAAFhAQAAAA5pc3N1ZUZyZWVQdXBweQAAAAAEAAAAAWIJAARCAAAABQIAAAAQUFVQUFktMTExMTExMTEtQgIAAAAQU2FtcGxlIFB1cHB5IE5GVAAAAAAAAAAAAQAAAAAAAAAAAAcEAAAAAWMJAAQ4AAAAAQUAAAABYgkABEwAAAACBQAAAAFiCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFhAAAABmNhbGxlcgAAAAAAAAAAAQUAAAABYwUAAAADbmlsAAAAAWEBAAAAC3RyYW5zZmVyTkZUAAAAAAQAAAABZAkBAAAABXZhbHVlAAAAAQkAAZEAAAACCAUAAAABYQAAAAhwYXltZW50cwAAAAAAAAAAAAQAAAABYwkBAAAABXZhbHVlAAAAAQgFAAAAAWQAAAAHYXNzZXRJZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABYQAAAAZjYWxsZXIAAAAAAAAAAAEFAAAAAWMFAAAAA25pbAAAAAEAAAABZQEAAAABZgAAAAAJAAH0AAAAAwgFAAAAAWUAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAFlAAAABnByb29mcwAAAAAAAAAAAAgFAAAAAWUAAAAPc2VuZGVyUHVibGljS2V5tPpL/w==", "height": 1843994, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GWnMgGhi6DcLbnMGSZU1JsYdXZHs2qCv1BAVfYQAwyB Next: Cpoq14HMRSiPGD65C9vqmgLqTVSfvfBVnpGRLqWiGDwq Diff:
OldNewDifferences
1313
1414
1515 @Callable(i)
16-func transferNFT (assetId) = [ScriptTransfer(i.caller, 1, assetId)]
16+func transferNFT () = {
17+ let pmt = value(i.payments[0])
18+ let assetId = value(pmt.assetId)
19+[ScriptTransfer(i.caller, 1, assetId)]
20+ }
1721
1822
1923 @Verifier(tx)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func issueFreePuppy () = {
88 let asset = Issue("PUPPY-11111111-B", "Sample Puppy NFT", 1, 0, false)
99 let assetId = calculateAssetId(asset)
1010 [asset, ScriptTransfer(i.caller, 1, assetId)]
1111 }
1212
1313
1414
1515 @Callable(i)
16-func transferNFT (assetId) = [ScriptTransfer(i.caller, 1, assetId)]
16+func transferNFT () = {
17+ let pmt = value(i.payments[0])
18+ let assetId = value(pmt.assetId)
19+[ScriptTransfer(i.caller, 1, assetId)]
20+ }
1721
1822
1923 @Verifier(tx)
2024 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2125

github/deemru/w8io/026f985 
24.44 ms