tx · Dkh8G8uPEKVBx323vSWWnyQBdJAtgDN6QPzQZ8Zfq52o
3NCZ57kfAyy5g1u9wU6xpPATZaGHQsWtdii: -0.01400000 Waves
2020.12.25 17:34 [1324342] smart account 3NCZ57kfAyy5g1u9wU6xpPATZaGHQsWtdii > SELF 0.00000000 Waves
{
"type": 13,
"id": "Dkh8G8uPEKVBx323vSWWnyQBdJAtgDN6QPzQZ8Zfq52o",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1608906896317,
"version": 2,
"chainId": 84,
"sender": "3NCZ57kfAyy5g1u9wU6xpPATZaGHQsWtdii",
"senderPublicKey": "9qhZSTJv6GQKghqH88TBPU6rNvQWf6yXCL57T7C7oi7A",
"proofs": [
"3YwYVoBuyAVbhd1KLxMrQUpt3kVgmeXFHrw9oeZLYvhtPpekPk6Rqm8yLQmpT3gHcUAKas6bTEgYKPkNNG3fUAPn"
],
"script": "base64:AAIEAAAAAAAAAAoIAhIGCgQICAEEAAAAAgAAAAAEUEFSNwEAAAAgzlhA/ZjitMWTd+McxVJoK0GcLLGrEdV8aco355LpR4wAAAAACHN3YXBSYXRlAAAAAAAAAAABAAAAAQAAAAFpAQAAAAppc3N1ZUFzc2V0AAAABAAAAARuYW1lAAAAC2Rlc2NyaXB0aW9uAAAACGRlY2ltYWxzAAAAB3JlSXNzdWUEAAAAA3BtdAkAAZEAAAACCAUAAAABaQAAAAhwYXltZW50cwAAAAAAAAAAAAMJAQAAAAIhPQAAAAIIBQAAAANwbXQAAAAHYXNzZXRJZAUAAAAEUEFSNwkAAAIAAAABAgAAABR3b3JrcyB3aXRoIFBBUjcgb25seQQAAAALaXNzdWVBbW91bnQJAABoAAAAAggFAAAAA3BtdAAAAAZhbW91bnQFAAAACHN3YXBSYXRlBAAAAAVpc3N1ZQkABEIAAAAFBQAAAARuYW1lBQAAAAtkZXNjcmlwdGlvbgUAAAALaXNzdWVBbW91bnQFAAAACGRlY2ltYWxzBQAAAAdyZUlzc3VlBAAAAAJpZAkABDgAAAABBQAAAAVpc3N1ZQkABEwAAAACBQAAAAVpc3N1ZQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIIBQAAAAVpc3N1ZQAAAAhxdWFudGl0eQUAAAACaWQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V52u5CzQ==",
"height": 1324342,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: DceYtsNB4uh5tvBkwxTzFfYmjTQPxWkeCoy8rNxUuoqV
Next: none
Diff:
Old | New | | Differences |
---|
6 | 6 | | let b = 1 |
---|
7 | 7 | | |
---|
8 | 8 | | @Callable(c) |
---|
9 | | - | func issueAsset (d,e,f,g,h) = { |
---|
10 | | - | let i = c.payments[0] |
---|
11 | | - | if ((i.assetId != a)) |
---|
| 9 | + | func issueAsset (d,e,f,g) = { |
---|
| 10 | + | let h = c.payments[0] |
---|
| 11 | + | if ((h.assetId != a)) |
---|
12 | 12 | | then throw("works with PAR7 only") |
---|
13 | 13 | | else { |
---|
14 | | - | let j = (i.amount * b) |
---|
15 | | - | let k = Issue(d, e, f, g, h) |
---|
16 | | - | let l = calculateAssetId(k) |
---|
17 | | - | [k, ScriptTransfer(c.caller, k.quantity, l)] |
---|
| 14 | + | let i = (h.amount * b) |
---|
| 15 | + | let j = Issue(d, e, i, f, g) |
---|
| 16 | + | let k = calculateAssetId(j) |
---|
| 17 | + | [j, ScriptTransfer(c.caller, j.quantity, k)] |
---|
18 | 18 | | } |
---|
19 | 19 | | } |
---|
20 | 20 | | |
---|
21 | 21 | | |
---|
22 | | - | @Verifier(m) |
---|
23 | | - | func n () = sigVerify(m.bodyBytes, m.proofs[0], m.senderPublicKey) |
---|
| 22 | + | @Verifier(l) |
---|
| 23 | + | func m () = sigVerify(l.bodyBytes, l.proofs[0], l.senderPublicKey) |
---|
24 | 24 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = base58'EtV3CXQ4wqm28WPB1KaBv5B9ke2bpXRZMutYNEJUQcXm' |
---|
5 | 5 | | |
---|
6 | 6 | | let b = 1 |
---|
7 | 7 | | |
---|
8 | 8 | | @Callable(c) |
---|
9 | | - | func issueAsset (d,e,f,g,h) = { |
---|
10 | | - | let i = c.payments[0] |
---|
11 | | - | if ((i.assetId != a)) |
---|
| 9 | + | func issueAsset (d,e,f,g) = { |
---|
| 10 | + | let h = c.payments[0] |
---|
| 11 | + | if ((h.assetId != a)) |
---|
12 | 12 | | then throw("works with PAR7 only") |
---|
13 | 13 | | else { |
---|
14 | | - | let j = (i.amount * b) |
---|
15 | | - | let k = Issue(d, e, f, g, h) |
---|
16 | | - | let l = calculateAssetId(k) |
---|
17 | | - | [k, ScriptTransfer(c.caller, k.quantity, l)] |
---|
| 14 | + | let i = (h.amount * b) |
---|
| 15 | + | let j = Issue(d, e, i, f, g) |
---|
| 16 | + | let k = calculateAssetId(j) |
---|
| 17 | + | [j, ScriptTransfer(c.caller, j.quantity, k)] |
---|
18 | 18 | | } |
---|
19 | 19 | | } |
---|
20 | 20 | | |
---|
21 | 21 | | |
---|
22 | | - | @Verifier(m) |
---|
23 | | - | func n () = sigVerify(m.bodyBytes, m.proofs[0], m.senderPublicKey) |
---|
| 22 | + | @Verifier(l) |
---|
| 23 | + | func m () = sigVerify(l.bodyBytes, l.proofs[0], l.senderPublicKey) |
---|
24 | 24 | | |
---|