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(a) |
---|
7 | | - | func issueFreePuppy () = { |
---|
8 | | - | let b = Issue("PUPPY-11111111-B", "Sample Puppy NFT", 1, 0, false) |
---|
9 | | - | let c = calculateAssetId(b) |
---|
10 | | - | [b, ScriptTransfer(a.caller, 1, c)] |
---|
| 7 | + | func issueFreePuppy (b) = { |
---|
| 8 | + | let c = Issue(b, "BOLAS NFT", 1, 0, false) |
---|
| 9 | + | let d = calculateAssetId(c) |
---|
| 10 | + | [c, ScriptTransfer(a.caller, 1, d)] |
---|
11 | 11 | | } |
---|
12 | 12 | | |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | @Callable(a) |
---|
16 | 16 | | func transferNFT () = { |
---|
17 | | - | let d = value(a.payments[0]) |
---|
18 | | - | let c = value(d.assetId) |
---|
19 | | - | [ScriptTransfer(a.caller, 1, c)] |
---|
| 17 | + | let e = value(a.payments[0]) |
---|
| 18 | + | let d = value(e.assetId) |
---|
| 19 | + | [ScriptTransfer(a.caller, 1, d)] |
---|
20 | 20 | | } |
---|
21 | 21 | | |
---|
22 | 22 | | |
---|
23 | | - | @Verifier(e) |
---|
24 | | - | func f () = sigVerify(e.bodyBytes, e.proofs[0], e.senderPublicKey) |
---|
| 23 | + | @Verifier(f) |
---|
| 24 | + | func g () = sigVerify(f.bodyBytes, f.proofs[0], f.senderPublicKey) |
---|
25 | 25 | | |
---|
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(a) |
---|
7 | | - | func issueFreePuppy () = { |
---|
8 | | - | let b = Issue("PUPPY-11111111-B", "Sample Puppy NFT", 1, 0, false) |
---|
9 | | - | let c = calculateAssetId(b) |
---|
10 | | - | [b, ScriptTransfer(a.caller, 1, c)] |
---|
| 7 | + | func issueFreePuppy (b) = { |
---|
| 8 | + | let c = Issue(b, "BOLAS NFT", 1, 0, false) |
---|
| 9 | + | let d = calculateAssetId(c) |
---|
| 10 | + | [c, ScriptTransfer(a.caller, 1, d)] |
---|
11 | 11 | | } |
---|
12 | 12 | | |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | @Callable(a) |
---|
16 | 16 | | func transferNFT () = { |
---|
17 | | - | let d = value(a.payments[0]) |
---|
18 | | - | let c = value(d.assetId) |
---|
19 | | - | [ScriptTransfer(a.caller, 1, c)] |
---|
| 17 | + | let e = value(a.payments[0]) |
---|
| 18 | + | let d = value(e.assetId) |
---|
| 19 | + | [ScriptTransfer(a.caller, 1, d)] |
---|
20 | 20 | | } |
---|
21 | 21 | | |
---|
22 | 22 | | |
---|
23 | | - | @Verifier(e) |
---|
24 | | - | func f () = sigVerify(e.bodyBytes, e.proofs[0], e.senderPublicKey) |
---|
| 23 | + | @Verifier(f) |
---|
| 24 | + | func g () = sigVerify(f.bodyBytes, f.proofs[0], f.senderPublicKey) |
---|
25 | 25 | | |
---|