tx · 7wWEyPdq5QN9tdmQRiMzHHxW1Zty6k7KShn6ZhzJkDh5
3N8X6wT7GZLavL2ayUQzwRD2kRFRSDyhkKS: -0.01400000 Waves
2021.07.08 17:57 [1604776] smart account 3N8X6wT7GZLavL2ayUQzwRD2kRFRSDyhkKS > SELF 0.00000000 Waves
{
"type": 13,
"id": "7wWEyPdq5QN9tdmQRiMzHHxW1Zty6k7KShn6ZhzJkDh5",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1625756251624,
"version": 2,
"chainId": 84,
"sender": "3N8X6wT7GZLavL2ayUQzwRD2kRFRSDyhkKS",
"senderPublicKey": "7DT6yPGiY3eZiSytDKBx5ToZcjhem3SyxdX6Zz9fsMED",
"proofs": [
"4VmZAWZTccENuKjy5rvr3kToVoVqQkeqgwzkPQbbQqsp6gVqQZQo193ewsx9cqmdhDefY6phifzF8XgYfPAg3ug9"
],
"script": "base64:AAIFAAAAAAAAADoIAhIAGgcKAmExEgFpGggKAmEyEgJ4ZBoJCgJhMxIDeGQzGggKAmE0EgJ0eBoMCgJhNRIGdmVyaWZ5AAAAAAAAAAEAAAACYTEBAAAABGNhbGwAAAAABAAAAAJhMgkAAlgAAAABCAUAAAACYTEAAAAPY2FsbGVyUHVibGljS2V5BAAAAAJhMwIAAAAsNHc4RXZUTG9ZaXVyY29qRERHQ3NMM1ZhZmdBOWN4dUVhdGlOblJyQndyd2sDCQAAAAAAAAIFAAAAAmEyBQAAAAJhMwkABEwAAAACCQEAAAAEQnVybgAAAAIBAAAAIBglIW67mT3zAiNF9FFVOphYeAsJSgfmai5ijpDwgvk4AAAAAAAAAAABBQAAAANuaWwJAAACAAAAAQIAAAACWEQAAAABAAAAAmE0AQAAAAJhNQAAAAAJAAH0AAAAAwgFAAAAAmE0AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACYTQAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACYTQAAAAPc2VuZGVyUHVibGljS2V598WG6Q==",
"height": 1604776,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: G2dqrkaQ5JajeaGh1c79kUAwHKEL1aEJ2vA54XWnuCzj
Next: JCKsBDCyJt26BcjcicX2qTzRSaMoTLEDc2oDj4vn9iyN
Diff:
Old | New | | Differences |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func call () = { |
---|
8 | | - | let xd = i.caller.bytes |
---|
9 | | - | let xd2 = toString(addressFromPublicKey(xd)) |
---|
10 | | - | let xd3 = "3MxbfopxWnpqpvAGqT2A2Fkn5aBxzfHR3wQ" |
---|
11 | | - | if ((xd2 == xd3)) |
---|
| 8 | + | let xd = toBase58String(i.callerPublicKey) |
---|
| 9 | + | let xd3 = "4w8EvTLoYiurcojDDGCsL3VafgA9cxuEatiNnRrBwrwk" |
---|
| 10 | + | if ((xd == xd3)) |
---|
12 | 11 | | then [Burn(base58'2dFd9ZLYU2ZXQk1FACPmkxeAkHrm5X4mZthxSo8peYHd', 1)] |
---|
13 | 12 | | else throw("XD") |
---|
14 | 13 | | } |
---|
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(i) |
---|
7 | 7 | | func call () = { |
---|
8 | | - | let xd = i.caller.bytes |
---|
9 | | - | let xd2 = toString(addressFromPublicKey(xd)) |
---|
10 | | - | let xd3 = "3MxbfopxWnpqpvAGqT2A2Fkn5aBxzfHR3wQ" |
---|
11 | | - | if ((xd2 == xd3)) |
---|
| 8 | + | let xd = toBase58String(i.callerPublicKey) |
---|
| 9 | + | let xd3 = "4w8EvTLoYiurcojDDGCsL3VafgA9cxuEatiNnRrBwrwk" |
---|
| 10 | + | if ((xd == xd3)) |
---|
12 | 11 | | then [Burn(base58'2dFd9ZLYU2ZXQk1FACPmkxeAkHrm5X4mZthxSo8peYHd', 1)] |
---|
13 | 12 | | else throw("XD") |
---|
14 | 13 | | } |
---|
15 | 14 | | |
---|
16 | 15 | | |
---|
17 | 16 | | @Verifier(tx) |
---|
18 | 17 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
19 | 18 | | |
---|