tx · E7YumhTn54M1kVxhbVK3sFwH2VScRmf7uAeu5BChWU69
3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m: -0.05000000 Waves
2021.07.03 01:25 [1596566] smart account 3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m > SELF 0.00000000 Waves
{
"type": 13,
"id": "E7YumhTn54M1kVxhbVK3sFwH2VScRmf7uAeu5BChWU69",
"fee": 5000000,
"feeAssetId": null,
"timestamp": 1625264738271,
"version": 2,
"chainId": 84,
"sender": "3MpTrDzmf3z626RBJDm6ro8dgwGNjww9P7m",
"senderPublicKey": "CbTzRbxsvfCTAE3CZoaNqSuoyWno1ky5vUegoobBoXn7",
"proofs": [
"4F5xDYaZARs5NaYSTjbfn5DitC1Qu57APf3Buqz21VWyeHU2kRmf3gn59eDAeMHFLeXLwx6uzjBqSY9NJMuSRXJZ"
],
"script": "base64:AAIFAAAAAAAAABMIAhIDCgEIEgUKAwgBCBIDCgEIAAAAAAAAAAMAAAABaQEAAAALaW5zdGFudFNhbGUAAAABAAAABW5mdElkCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAvrwgAUAAAAEdW5pdAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAAAVuZnRJZAkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAp7IHNlbGxlcjogCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgIAAAAJLCBuZnRJZDogBQAAAAVuZnRJZAIAAAAmLCBwcmljZTogNTAwMDAwMDAsIHN0YXR1czogY29tcGxldGVkIH0FAAAAA25pbAAAAAFpAQAAAAhidXlPZmZlcgAAAAMAAAAKbmZ0QXNzZXRJZAAAAAVwcmljZQAAAA1zZWxsZXJBZGRyZXNzCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAAAAAQkAAZsAAAABBQAAAApuZnRBc3NldElkCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAEFAAAADXNlbGxlckFkZHJlc3MAAAAAAAAAAAEFAAAABHVuaXQFAAAAA25pbAAAAAFpAQAAAAlhYm9ydFNhbGUAAAABAAAACm5mdEFzc2V0SWQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAAABCQABmwAAAAEFAAAACm5mdEFzc2V0SWQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5j7RRHQ==",
"height": 1596566,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: Gq48TCa6TWdTUiRtpNVURXgJ15ECMa3unBPwEdxXN8mp
Next: DERNjUQGv7oypshCLizJX4UizkftF47VW2UKAPk6hSGt
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(a) |
---|
7 | | - | func instantSale (b) = { |
---|
8 | | - | let c = ("Instant Sale " + b) |
---|
9 | | - | [ScriptTransfer(a.caller, 50000000, unit), StringEntry(c, (((("{ seller: " + toString(a.caller)) + ", nftId: ") + b) + ", price: 50000000 }"))] |
---|
10 | | - | } |
---|
| 7 | + | func instantSale (b) = [ScriptTransfer(a.caller, 50000000, unit), StringEntry(b, (((("{ seller: " + toString(a.caller)) + ", nftId: ") + b) + ", price: 50000000, status: completed }"))] |
---|
11 | 8 | | |
---|
12 | 9 | | |
---|
13 | 10 | | |
---|
14 | 11 | | @Callable(a) |
---|
15 | | - | func buyOffer (d,e,f) = [ScriptTransfer(a.caller, 1, toBytes(d)), ScriptTransfer(addressFromStringValue(f), 1, unit)] |
---|
| 12 | + | func buyOffer (c,d,e) = [ScriptTransfer(a.caller, 1, toBytes(c)), ScriptTransfer(addressFromStringValue(e), 1, unit)] |
---|
16 | 13 | | |
---|
17 | 14 | | |
---|
18 | 15 | | |
---|
19 | 16 | | @Callable(a) |
---|
20 | | - | func abortSale (d) = [ScriptTransfer(a.caller, 1, toBytes(d))] |
---|
| 17 | + | func abortSale (c) = [ScriptTransfer(a.caller, 1, toBytes(c))] |
---|
21 | 18 | | |
---|
22 | 19 | | |
---|
23 | | - | @Verifier(g) |
---|
24 | | - | func h () = sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey) |
---|
| 20 | + | @Verifier(f) |
---|
| 21 | + | func g () = sigVerify(f.bodyBytes, f.proofs[0], f.senderPublicKey) |
---|
25 | 22 | | |
---|
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 instantSale (b) = { |
---|
8 | | - | let c = ("Instant Sale " + b) |
---|
9 | | - | [ScriptTransfer(a.caller, 50000000, unit), StringEntry(c, (((("{ seller: " + toString(a.caller)) + ", nftId: ") + b) + ", price: 50000000 }"))] |
---|
10 | | - | } |
---|
| 7 | + | func instantSale (b) = [ScriptTransfer(a.caller, 50000000, unit), StringEntry(b, (((("{ seller: " + toString(a.caller)) + ", nftId: ") + b) + ", price: 50000000, status: completed }"))] |
---|
11 | 8 | | |
---|
12 | 9 | | |
---|
13 | 10 | | |
---|
14 | 11 | | @Callable(a) |
---|
15 | | - | func buyOffer (d,e,f) = [ScriptTransfer(a.caller, 1, toBytes(d)), ScriptTransfer(addressFromStringValue(f), 1, unit)] |
---|
| 12 | + | func buyOffer (c,d,e) = [ScriptTransfer(a.caller, 1, toBytes(c)), ScriptTransfer(addressFromStringValue(e), 1, unit)] |
---|
16 | 13 | | |
---|
17 | 14 | | |
---|
18 | 15 | | |
---|
19 | 16 | | @Callable(a) |
---|
20 | | - | func abortSale (d) = [ScriptTransfer(a.caller, 1, toBytes(d))] |
---|
| 17 | + | func abortSale (c) = [ScriptTransfer(a.caller, 1, toBytes(c))] |
---|
21 | 18 | | |
---|
22 | 19 | | |
---|
23 | | - | @Verifier(g) |
---|
24 | | - | func h () = sigVerify(g.bodyBytes, g.proofs[0], g.senderPublicKey) |
---|
| 20 | + | @Verifier(f) |
---|
| 21 | + | func g () = sigVerify(f.bodyBytes, f.proofs[0], f.senderPublicKey) |
---|
25 | 22 | | |
---|